Last active
December 18, 2015 04:10
-
-
Save husa/5723132 to your computer and use it in GitHub Desktop.
Node js Build for Sublime Text 2
To import it to Sublime Text: Tools -> Build System -> New Build System, and paste this code there To use: Tools -> Build System, and select your newly created build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// new build | |
{ | |
"cmd": ["node", "$file"], | |
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"selector": "source.js" | |
} | |
//key bindings for build | |
[ | |
{ "keys": ["ctrl+b"], "command": "build" }, | |
{ "keys": ["ctrl++alt+b"], "command": "exec", "args": {"kill": true} } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment