pm2设置自动重启
文章目录
http://pm2.keymetrics.io/docs/usage/watch-and-restart/#auto-restart-apps-on-file-change
根据这里的方法,只需要把pm2的服务先停下,然后起来的时候带上--watch就可以了
http://pm2.keymetrics.io/docs/usage/watch-and-restart/#auto-restart-apps-on-file-change
根据这里的方法,只需要把pm2的服务先停下,然后起来的时候带上--watch就可以了
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论