Reputation: 6664
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.
Upvotes: 10
Views: 9028
Reputation: 31761
Yes, pm2 restart
picks up local changes. Clients may have to clear cache/refresh if you're not seeing the changes.
Upvotes: 12