Hot Reload not working for Blazor WebAssembly
Hot Reload iw not working for a vanilla out-of-the-box Blazor WebAssembly app.
I submitted Ticket Request #6611534 about this on July 16 and followed up a few days ago but with no response. Posting ticket content here to see if the community can be helpful.
Here are the steps I took:
Created a project with the following settings

Ran the website.


My Machine:

I included logs in the support ticket.
Please sign in to leave a comment.
Hello Saif,
Thank you for contacting Rider support. Apologies for taking so long to respond. I found your previous ticket and merged it to the current one to avoid duplication. I see my colleague suggested trying `dotnet watch`. Please do so (there is an instruction below in this message).
I'll proceed with your support request now. The scenario you described indeed looks weird and hot reload should work
First, I suggest the following steps:
If none of that helped, please try running your project via
dotnet watch. Open the terminal (you can do it right in the Rider terminal) andcd {YourSolution}/{BlazorProject}. Then invokedotnet watch. Your project should start and the browser should open. Edit the Home.razor file from Rider and invoke save (Ctrl/Cmd+S or File | Save All). Then switch to browser and check if changes reflect;Please let me know the outcome
If with dotnet watch, the hot reload works, but the issue still persists in Rider, would you mind sharing another log bundle as described below?
Hope to hear from you soon. Have a great day!
Got it, thank you. If the issue persists, then we need logs with Roslyn traces to troubleshoot the issue. Would you mind collecting and sharing them as I described earlier?
Have a nice day!
Thank you!
I noticed a problem with the Safari browser. For me the hot reload doesn't work when the Safari browser is used. For me the hot reload doesn't work with Safari browser: neither via dotnet watch nor from Rider (In case I configured Safari to be used as a browser)
Would you mind confirming the following points?
Have a nice day!