Hot reload using dotnet watch doesn't work 98% of the time
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Describe the bug
My colleges and I use Macs and the .NET CLI for development. Our solution contains two Blazor Wasm hosted apps and a .NET Web API. There are 4 of us and in the past month only 2 of us have seen hot reload work and that was for a grand total of two days.
Running dotnet watch -v
shows the following: watch : Hot reload capabilities: .
which I’m sure I read somewhere is not a good sign?
I appreciate this isn’t much to go on and I’d love to provide more information but I’m not sure what. But I’m happy to provide any other details.
Expected Behavior
Hot reload should work more than not.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
6.0.101
Anything else?
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Hot reload blazor via dotnet watch not working
I know that with debugging it's currently not possible, so without, it's hosted asp.net core but even standalone it's not working. I am...
Read more >.NET 6 hot reload error : r/dotnet
Working on macos using vscode. Using CLI when i run dotnet watch it gives out this error. dotnet watch ❌ Exited with error...
Read more >dotnet watch command - .NET CLI
Hot reload is a feature that lets you apply changes to a running app without having to rebuild and restart it. The changes...
Read more >NET Hot Reload support for ASP.NET Core
NET Hot Reload applies code changes, including changes to stylesheets, to a running app without restarting the app and without losing app state....
Read more >dotnet watch run doesnt reload browser - Umbraco 9
Sounds like the feature that you want is in .NET 6.0+ which is called Hot Reload. You can try it now by using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pranavkm So good and bad news. I installed the nightly build (6.0.201) and hot reload started working… for a day or two. But I’m back to
Hot reload capabilities: .
. Are there anymore details or things I can try?The installers in the nightly build aren’t signed so it’ll print scary messages. Usually on Windows there’s a way to ignore it, but I’m not familiar with the MacOS equivalent. That said, I usually grab the zip archive and run
dotnet
from the extracted directory. That doesn’t have any of these issues.