nodemon
官方网站:http://nodemon.io/
github地址:https://github.com/remy/nodemon/
简介:Nodemon 是一款非常实用的工具,用来监控你 node.js 源代码的任何变化和自动重启你的服务器。 Nodemon 是一款完美的开发工具
$ npm install -g nodemon $ nodemon index.js
$ nodemon --inspect app.js
结合vscode调试:https://www.cnblogs.com/CyLee/p/9321571.html
$ nodemon --inspect app.js chrome DevTool 调试:https://www.cnblogs.com/CyLee/p/9320569.html