supervisor
supervisor
node app->supervisor app.js
好处是js文件变动后无需重启服务器,只需重新刷新网页即可
//安装
cnpm install supervisor -g
//使用
supervisor app.js
You can change the world with your heart,even a lot of changes sometimes unless you won't geiv up....