Question

Not seeing code changes reflected in browser

I have been making updates via git pulls to my already deployed app on my droplet, but when I reload the browser I don’t see those changes being reflected. I have gone into my folders on my app on my droplet and am seeing the changes reflected there, but again not in the browser. I have also cleared my cache, but that didn’t solve the problem either. Any help is appreciated.


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.

Hi there,

I believe that once you make a change to your React JavaScript code, you would need to also run the build command to build the latest changes.

For example, if you are using npm, you would need to run npm run build.

Let me know how it goes. Regards, Bobby