-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot Reload not working #1585
Comments
@luis-pirela - when clicking the Hot Reload button, what exactly do you see happen in VS Code? What do you see in the |
I get: However, the changes are not automatically synchronized. |
I am also experiencing a similar Hot Reload issue in an ASP.NET Core MVC .NET 9 project. The Hot Reload output says "Code changes were successfully applied" but the browser does not auto-reload and haven't been applied even when I refresh manually. I have to restart the debug session to pick up the changes. Version: 1.95.3 (user setup) C# Dev Kit v1.13.9 |
I too am having this issue. Version: 1.95.3 (user setup) The application is a blazor wasm on .NET 8.0 All I get in the .NET Hot Reload output is: But the application does not update and I must restart debugging to see changes. |
I did not find any closed issue that solves the problem and I did not fine any open issue regarding the problem.
I already checked Why isn't C# Dev Kit activating / C# Dev Kit commands are not found? but same issue persists
Does this issue occur when all extensions are disabled?: Yes, I even tried with a DevContainer where I only installed the C# Dev Kit (and its dependencies) and the issue persists
VS Code Version: 1.95.1
OS Version: Windows 11 Version 24H2 (OS Build 26100.2033)
C# Dev Kit v1.12.37 (pre-release). Issue persists also with latest relased version.
C# v2.54.20 (pre-release). Issue persists also with latest relased version.
.NET Install Tool v2.2.2
Issue persists with "Dotnet: Prefer CSharp Extension" set to false (so, disabled)
Issue persists with Hot Reload enabled in settings
"Hot Reload is available" is shown in the toolbar
I am using MS Edge as browser
With dotnet watch it works
Expected Behavior:
Hot Reload on Save should work. So when saving with Ctrl + Schift + Enter or by clicking Hot Reload, the changes should be shown in the Blazor Web App running on Edge browser
Steps to Reproduce:
Clean installation of VS Code with the mentioned versions + installation of C# Dev Kit with the mentioned version. The project I am using is a Blazor Server App with .NET 8
The text was updated successfully, but these errors were encountered: