Nodeclipse + Nodemon不想启动应用程序
我在节点pathC:!NnS \ NodeJS!LIBS \ nodemon.cmd中设置了prefences
nodemod.cmd
"%~dp0\node.exe" "%~dp0\node_modules\nodemon\nodemon.js" %*
错误
21 Aug 17:12:11 - [33m[nodemon] v0.7.10[0m 21 Aug 17:12:11 - [33m[nodemon] to restart at any time, enter rs[0m 21 Aug 17:12:11 - [32m[nodemon] watching: C:\Users\Admin\Desktop\nodeclipse-NTS-jee-kepler-win64\ws\NodeProject-1[0m Error: spawn ENOENT at errnoException (child_process.js:980:11) at Process.ChildProcess._handle.onexit (child_process.js:771:34) 21 Aug 17:12:11 - [32m[nodemon] starting node C:\Users\Admin\Desktop\nodeclipse-NTS-jee-kepler-win64\ws\NodeProject-1\hello-world-server.js[0m 21 Aug 17:12:11 - [nodemon] exception in nodemon killing node
如果我将启动“nodemod.cmd app.js”所有的作品
PS。 nodemon插件在文件上的变化,并使任何更改重新启动https://github.com/remy/nodemon
运行节点应用程序节点的开发,永远,监督,Nodemon等Nodelog 0.4.0尚未支持,问题#57 https://github.com/Nodeclipse/nodeclipse-1/issues/57
尝试将这种应用程序的pathinput到“ Node path
首选项”设置中是非常明智的,但这并不意味着要使用该设置。
更新(你提到的解决scheme)与包装运行应用程序:
看起来像是在主应用程序将是这样的事情…一切都会好的:)
spawn("nodemon.cmd", ["main.js"]...
和
spawn("nodemon",[" --debug ./server.js 80"]...
但我个人更喜欢用StartExplorer打开控制台,看看插件列表 (右键单击项目 – > StartExplorer – >打开shell),然后nodemon main