dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.82k stars 455 forks source link

Reuse browser tab on ctrl+f5 from VS #3764

Open SteveSandersonMS opened 6 months ago

SteveSandersonMS commented 6 months ago

There's some difference in how VS launches Aspire projects launch compared with how it launches regular ASP.NET Core projects, e.g., Blazor Web ones.

With a default Blazor project, and assuming you have hot reload enabled, each time you ctrl+f5, VS will reuse the same browser tab if you have one open. With Aspire, each time you ctrl+f5 it opens a new tab for the dashboard, which leads to continually closing duplicate tabs.

Or is this just on my machine?

ahazelwood commented 4 months ago

This issue, plus the lack of browserlink to hot reload changes is slowing down development considerably.