Noob Needs Help: React/Next app not reflecting changes after git pull

Posted June 11, 2018 1.2k views
DeploymentUbuntu 16.04

By some miracle, I was able to deploy my first React/Next app yesterday (using PM2 and Nginx as a proxy server). Today, I made edits to the codebase to fix some bugs and merged the code back to my Github master. Then, I ran a git pull in my app’s directory to bring in the updates and typed my url into the browser…and…nothing. I’m seeing yesterday’s code.

I’ve tried restarting PM2 and Nginx as acts of desperation but to no avail. Is there something blatantly obvious I’m overlooking?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I have the same problem, did you find out what is it?