Question

Not seeing code changes reflected in browser

Posted April 13, 2021 257 views
GitReact

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.

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

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