-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to update config without doing pm2 kill #2576
Comments
Do you change the "env" field and these values does not get updated? |
No, and after running pm2 save, the old value is saved to .pm2/dump.pm2. I'm using pm2 version 2.2.1 |
Could you please give me a way to reproduce this issue |
Oops, I just found something. If value is updated, it will be saved to dump.pm2. If the field is completed omitted, it will still be saved to dump.pm2. |
I see, this is an edge case. We may support this feature in the following month |
This has been fixed with pm2 |
After changing my config file and running
pm2 reload process.json --only myProject
I expect env will be changed but not.
The only way to update my env config is to do pm2 kill and pm2 start again and then do pm2 save so config will be reloaded when rebooting machine. Is there a better way to update my config?
The text was updated successfully, but these errors were encountered: