Question

code changes(Angularjs site) not reflecting on live server

Posted December 4, 2016 3.5k views
Nginx

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

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.

×
2 answers

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.

Submit an Answer