简体   繁体   中英

Confusion about pm2 restart vs reload

Issuing "pm2 restart all" will restart all of the processes pm2 is managing.

I am wondering: If there have been changes to any of the source files, does this actually reload the changes? Or does it just restart the existing pm2 process in memory.

Yes, pm2 restart picks up local changes. Clients may have to clear cache/refresh if you're not seeing the changes.

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