Node.js build system in Sublime Text 2

后端 未结 13 2216
耶瑟儿~
耶瑟儿~ 2020-12-13 06:30

I justed started learning JavaScript. While doing that, I got tired of embedding my JavaScript code into an HTML document in order to run it in the browser. I thought it wou

13条回答
  •  独厮守ぢ
    2020-12-13 07:07

    On Windows, the following configuration works:

    {
        "cmd": ["C:\\Program Files\\nodejs\\node.exe", "$file"],
        "selector": "source.js"
    }
    

提交回复
热议问题