pink_friday
pink_friday

Reputation: 3

pm2 never uses newly pulled code changes when restarting, stopping/restarting, or reloading

Using AWS lightsail, I am trying to restart the process so the production application reflects newly pushed code changes. None of the below commands restart the production application - I can not see the new front end changes.

  1. Git pull
  2. npm run build
  3. pm2 restart id; OR pm2 stop & pm2 start; OR pm2 reload

I tried running the recommended commands, and expected to see the newly pulled code changes in production but that doesn't happen.

Upvotes: 0

Views: 35

Answers (0)

Related Questions