nodejs保存自动启动程序方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 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

猜你喜欢

转载自blog.csdn.net/qq_40312194/article/details/82588089