Sample Repo to reproduce slow behavior in VS2022 vs dotnet watch
-
Open project with VS2022 - with enabled hot reload
-
Start project with launch profile "BlazorApp4"
-
Edit index.razor (change/add text or anything else)
-
Press Hot-Reload-Button in Navbar
-
See changes in Browser after 50 to 160 seconds
-
Repeat 3. - 4. to see subsequent change timings (50 to 160 seconds)
-
Stop project
-
Start with launch profile "With dotnet watch" or simply start project with "dotnet watch run"
-
Edit index.razor (change/add text or anything else)
-
Save File to trigger dotnet watch
-
See changes in Browser after 10 to 20 seconds
-
Repeat 10. - 11. to see subsequent change timings (~1 second)