We're using Next and we've ran into a minor issue.

First bug
Steps to reproduce:

  1. Set Start command to npx next start
  2. Set Args to -p 3001
  3. Check "Restart process after deployment"
  4. Save the settings

Expected behavior: the process restarts with the new command and args
Actual behavior: the process doesn't restart

Second bug
Same as the first one, though if I click on the Restart process button on the General tab it's restarted, but it still doesn't use the updated settings.

Current solution
If I remove it, then spawn it again the correct settings are used.

You may use @ to mention someone.

Restarting a PM2 process fails to use updated settings

3 total votes
Cristian Balan SMIT. fivepd_official
  • Dennis moved item to board Planned

    1 year ago
  • fivepd_official moved item to project Bugs

    1 year ago
  • fivepd_official created the item

    1 year ago