If you are using Google Chrome, then if you inspect the page and click settings cog in the top right hand corner of 'DevTools', you'll see a whole list of preferences with checkboxes next to them.
Tick the option for
'disable cache (while DevTools is open)'
And then the other little trick, if you have made a change to the angularJS and it's not updating in the browser, no matter how many times you press 'refresh'
then if you open DevTools for the page, and instead right-click the 'refresh' icon, then you get a new secret menu, and one of the options is 'Empty Cache and Hard Reload'.
Have found the combination of those two things stopped me going insane when first developing angularJS in the backoffice!
Refresh UI during development of backend
I am using Umbraco 11 on localhost in Visual Studio
One of the big problems I have in Umbraco is when I need to extend backend using Angular where it will not update the UI when I refesh the browser.
I am using Visual Studio and "dotnet build" and "dotnet run" to run but the UI is not being refreshed :(
How can I force it to reload without having to restart my computer.
Hi Niels
If you are using Google Chrome, then if you inspect the page and click settings cog in the top right hand corner of 'DevTools', you'll see a whole list of preferences with checkboxes next to them.
Tick the option for
'disable cache (while DevTools is open)'
And then the other little trick, if you have made a change to the angularJS and it's not updating in the browser, no matter how many times you press 'refresh' then if you open DevTools for the page, and instead right-click the 'refresh' icon, then you get a new secret menu, and one of the options is 'Empty Cache and Hard Reload'.
Have found the combination of those two things stopped me going insane when first developing angularJS in the backoffice!
regards
Marc
Thank you .... I will try that
is working on a reply...