Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Noob Needs Help: React/Next app not reflecting changes after git pull
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.×