aspnetcore-angular-universal
aspnetcore-angular-universal copied to clipboard
Can't update Angular application
Hi @MarkPieszak ,
What I do:
git clone https://github.com/MarkPieszak/aspnetcore-angular2-universal.gitcd aspnetcore-angular2-universalexport ASPNETCORE_ENVIRONMENT=Developmentdotnet run
As a result, the application works well on 5000 port, HMR works as well.
Ctrl + Cecho "<strong>Some new TAG</strong>" >> ClientApp/app/app.component.htmldotnet run- Refresh a web page
Result:
- I can't see my new tag on a page
- I see
GET http://localhost:5000/dist/87fc38c11d6a03317b37.hot-update.json 404 (Not Found)in a Chrome console - HMR stops working
It looks like a caching problem, clearing cache on browser helps me.
My environment:
OS: MacOS High Sierra
dotnet: 2.1.103
What version of Node do you have installed ?