Angular CLI hot reload slow under IIS Express #259

Closed
opened 2025-08-09 17:15:36 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @MaximBalaganskiy on 12/18/2017

I've got a default app generated with dotnet new angular and Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0-preview1-final.

When I run the project and then change any files according to the output log recompilation happens immediately. But the browser waits for 5-10 seconds before reloading a page. This only happens under IIS Express debugging, dotnet run is not affected.

Looking at the websocket activity in the browser, a["{\"type\":\"ok\"}"] message comes in without delays.

*Originally created by @MaximBalaganskiy on 12/18/2017* I've got a default app generated with `dotnet new angular` and `Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0-preview1-final`. When I run the project and then change any files according to the output log recompilation happens immediately. But the browser waits for 5-10 seconds before reloading a page. This only happens under IIS Express debugging, `dotnet run` is not affected. Looking at the websocket activity in the browser, `a["{\"type\":\"ok\"}"]` message comes in without delays.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#259
No description provided.