UseProxyToSpaDevelopmentServer doesn't auto-refresh browser on changes #171

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

Originally created by @speige on 2/15/2018

In Angular, when using

spa.UseAngularCliServer(npmScript: "start");

The browser will auto-refresh after ~ 10 seconds of saving a .html/.ts file.

When using the alternate version, the refresh never happens.

spa.UseProxyToSpaDevelopmentServer("http://localhost:4200");

On a side-note, the node server hosted by angular cli is able to refresh the browser almost instantly, rather than the ~ 10 second delay found in the Visual Studio SPA template.

*Originally created by @speige on 2/15/2018* In Angular, when using ``` spa.UseAngularCliServer(npmScript: "start"); ``` The browser will auto-refresh after ~ 10 seconds of saving a .html/.ts file. When using the alternate version, the refresh never happens. ``` spa.UseProxyToSpaDevelopmentServer("http://localhost:4200"); ``` On a side-note, the node server hosted by angular cli is able to refresh the browser almost instantly, rather than the ~ 10 second delay found in the Visual Studio SPA template.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#171
No description provided.