当你机器重启后,执行pm2 ls
出现一下警告,然后列表为空时:
Current process list is not synchronized with saved list. App demo differs. Type 'pm2 save' to synchronize.
之前启动保存的项目不见了,这时候不要慌,执行下面命令即可恢复:
pm2 update
参考:github issue
当你机器重启后,执行pm2 ls
出现一下警告,然后列表为空时:
Current process list is not synchronized with saved list. App demo differs. Type 'pm2 save' to synchronize.
之前启动保存的项目不见了,这时候不要慌,执行下面命令即可恢复:
pm2 update
参考:github issue