Report this

What is the reason for this report?

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

Posted on June 11, 2018

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?



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.