Original digest self of front-end blog, welcome everyone to visit
http://www.hacke2.cn
Previous Sublime Text 2 package management problems, can not install new package, let people develop very catch urgent, today installed a 3, this problem solved
Let's play node. js with sublime Text!
CN node is very clear, here is not a fine table
http://cnodejs.org/topic/51ee453af4963ade0ebde85e
Here's a question that they're talking about.
Re-run after port occupancy
I've been doing this for a while, and I finally solved it in the following way.
{ //Add a sentence here to turn off "cmd": ["taskkill/f/im Node.exe", ""], "cmd": ["Node", "$file"]}
Re-run after port occupancy
But there is also a problem, if your app.js is running, and you are debugging unit tests here, this will turn off the main program, this thing can not be used
Full Nodejs.sublime-build
{ "cmd": ["Node", "$file"], "File_regex": "^[]*file \" (... *) \ ", line ([0-9]*)", "selector": "Source.js", "shell": true, "encoding": "Utf-8", "Windows": {" CMD ": [" taskkill/f/im Node.exe "," "], " cmd ": [" Node "," $file "] }, " Linux ": { " cmd ": [" Killall Node Node "," $file "] }}
A small problem encountered in developing node. js in Sublime Text3