In case of new start, you just:
- run
pm2 start/reload ecosystem.config.js [--only your_app]
But when it is already started (pm2 already managing it) you have to do (someone can find a better way, but this works for me):
- run
pm2 delete your_app
- run
pm2 start