简体   繁体   中英

Pm2 reload not working unless pm2 kill is executed

I have a node server managed by pm2.

Whenever code changes I ran the command

pm2 reload config.json --env staging

but the changes are not reflected until I run the command

pm2 kill

manually on the server.

Pm2 watch is off in my case.

This issue has been fixed with the latest pm2 version (3.2.3). If it's still the case with the latest pm2 version, please share your ecosystem.config.js file

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM