How to run node app with sublime text

前端 未结 6 737
旧巷少年郎
旧巷少年郎 2021-02-03 12:38

How would you run node app with sublime text? Like this, open the file app.js in sublime, go to menu->tools->build, and it just runs. Simple like that

6条回答
  •  渐次进展
    2021-02-03 13:19

    On xubuntu, I made the build command in Nodejs.sublime-build explicity use the terminal:

    "cmd": ["xfce4-terminal", "--command", "node $file"]

提交回复
热议问题