Nodejs.sublime-build 在sublime3中的配置

{
  "cmd": ["node", "$file"],
  "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
  "selector": "source.js",
  "shell":true,
  "encoding": "cp936",
  "windows":
    {
        "cmd": ["taskkill","/F", "/IM", "node.exe","&","node", "$file"]  
    },
  "linux":
    {
        "cmd": ["killall node; node", "$file"]
    }
}

来源:http://www.cnblogs.com/bluesky4485/p/3928364.html
上一篇:一步一步学习Vue(十三)


下一篇:java知识点3