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?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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