Hot Reload removed from dotnet watch - Why?
See original GitHub issueHot Reload functionality in dotnet watch
was recently deleted and it seems that Hot Reload will be VS-only going forward. I’ve been using that functionality in dotnet watch
happily for a while now, and this seems like a huge step backward for .NET. Most new .NET developers aren’t using VS, and many aren’t even on Windows.
Could we get some more information on why this change was made? The linked blog post is very light on details and the PR has been locked to collaborators.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2833
- Comments:273 (13 by maintainers)
Top Results From Across the Web
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 >Microsoft angers the .NET open source community with a ...
Microsoft has quietly removed a key part of Hot Reload in the upcoming release of .NET 6 this week, a feature that essentially...
Read more >The Hot Reload Debacle - NET Core Tutorials
The cliff notes for what hot reload does is that it allows you to apply code changes to a running application *without* recompiling...
Read more >Hot Reload is rubbish : r/Blazor
Hello from the future. I'm just here to inform, that almost a year later, with .NET 8 Preview, the issue is still there....
Read more >Why is dotnet watch (with hot reloading) not working?
Notice it's still outputting "a" not "b". I'm running macOS and from the standard command line. The csproj file looks like this: <Project...
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
Top Related Hashnode Post
No results found
Top GitHub Comments
@rgwood you say you’ve been using the feature “for a while now” but it’s only been in since April/May as part of the .NET 6 previews… you’ve been using it in preview?
@LyalinDotCom was kind enough to clarify on Twitter (and to be clear, I do appreciate it; please don’t shoot the messenger):
I can certainly appreciate competing priorities, but this is still very disappointing.
dotnet watch
hot reload already seemed great to me, and if necessary it could have been moved behind a preview flag like other .NET 6 features (ex: generic math).I’ve been using this feature as part of my cross-platform workflow, and I was incredibly excited for it in the broader context of the .NET ecosystem. A big part of the appeal of .NET is excellent developer tooling, but all too often that’s been lacking for developers who stray from Windows+Visual Studio. This was going to be a flagship developer experience feature that I could get other, newer .NET developers excited about.
This seems like a short-sighted decision that will harm the .NET ecosystem in the long run. I can only assume this decision is being made by people outside of the .NET team, and I hope they’re willing to reconsider the decision.
A former PM for F# said it better than I could: