Question

code changes(Angularjs site) not reflecting on live server

Hello everyone , i have create new drop-late with 512kb ram. also installed node js, nginx. The issue is that we are now making changes to the code live on the server, but whatever changes we make are not reflecting in the dashboard site hosted on the server. i have tried to restart nginx by using ‘service nginx restart’. don’t it work. what is do for that any solution regading this issue??


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.

You don’t have to restart nginx in case of site changes. You need to do so only when you change Nginx configuration.

Main reason could be caching. Try clearing it from browser settings. If you don’t want to do it you can try Incognito mode. In case of Chrome, CTRL+SHIFT+R could be useful shortcut for Hard Reload.

Hello,

i have tried to restart nginx by using ‘service nginx restart’. don’t it work This is NEVER a good answer. Just by saying “it doesn’t work” nobody can help you. You need to give the ERRORS that the system gives, check logs, and give some more details.

Are you for example using caching methods?