Report this

What is the reason for this report?

code changes(Angularjs site) not reflecting on live server

Posted on December 4, 2016

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??



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.

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?

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.

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.