Skip to content

Instantly share code, notes, and snippets.

@pyk
pyk / jade.sublime-build
Last active April 29, 2016 10:58
i have problem sublime build [Errno 2] No such file or directory . then i fix with this code. make sure you install node and jade with npm globally. press cmd + b to convert .jade to html. this build also asume that you place your jade file to directory called jade. the html output will be outside jade folder.
{
"cmd": ["jade", "$file", "-o", "../", "--pretty"],
"selector": "source.jade",
"path": "/usr/local/bin"
}
# path is where your jade executable.
# type in terminal :
# $ which jade
# and change into "path" value into your location.