我在节点路径 C:!NnS\NodeJS!LIBS\nodemon.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”一切正常
附言。nodemon 插件,用于文件更改并在任何更改时重新启动 https://github.com/remy/nodemon