【发布时间】:2013-08-23 19:06:52
【问题描述】:
我在节点路径 C:!NnS\NodeJS!LIBS\nodemon.cmd 中设置了偏好
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 插件,用于在文件更改时进行 whatch 并在任何更改时重新启动 https://github.com/remy/nodemon
【问题讨论】:
-
什么是nodemon?请给出问题内的链接。
-
准备好了。 github.com/remy/nodemon
标签: node.js nodeclipse nodemon