Sublime Text 3 nodejs build
The build file should like the following below:
{
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.js",
"shell":true,
"encoding": "cp936",
"windows":
{
"cmd": "taskkill /F /IM node.exe /T & node $file"
},
"linux":
{
"cmd": ["killall node; node", "$file"]
}
}
If you want to test the command line in ST3, just type "dir"("" should contain) in "windows" -> "cmd", then you may know how it worked.