Answered
I need to restart my PM2 application so it sees the new code changes I made.
Any idea how this can be done?
You can do that easily with this command:
pm2 restart <your-app-name>
You need to restart your application.
Restart a single application:
pm2 restart <your-app-name>
Restart multiple applications:
pm2 restart <app-name> <app-name> <app-name>
Restart all applications:
pm2 restart all