版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_40312194/article/details/82588089
插件:supervisor
npm install supervisor -g
如果启动是 node app.js 使用命令:supervisor app.js
启动是 n'p'm start 使用命令:supervisor ./bin/www
插件:supervisor
npm install supervisor -g
如果启动是 node app.js 使用命令:supervisor app.js
启动是 n'p'm start 使用命令:supervisor ./bin/www