fullstackproltd / AspNetCoreSpa

Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
https://aspnetcorespa.fullstackpro.co.uk
MIT License
1.47k stars 464 forks source link

Live Reload Angular 6 #240

Closed sajidali2444 closed 5 years ago

sajidali2444 commented 6 years ago

Hi, After updating packages to angular v6.1.1 live reload not working and template changes not working in the browser any idea? please

AlejandroFlorin commented 6 years ago

That's happened to me before in various projects when I've upgraded angular or when i do a manual ng build. Try deleting the dist folder. Apparently, VS decides to use the production publish files instead of the development files. Deleting the dist folder forces it to use the development files again.

https://stackoverflow.com/questions/50867385/development-server-hot-updates-not-working

asadsahi commented 5 years ago

@sajidali2444 never seen this happening. If you are still encountering this in a specific implementation. Share your code with reproduction and I can investigate further.