Skip to content

Hotreload doesn't work on Blazor wasm (.NET6) #38576

Closed
@darius-khll

Description

@darius-khll

Hotreload doesn't work on blazor wasm (.NET6 LTS)

I've created a brand new blazor wasm project using Visual Studio 2022 (Version 17.1.0 Preview 1.1) and couldn't get hotreload to work, HOWEVER it works perfectly fine on blazor server!

To Reproduce

Windows 11
Brand new .NET6 blazor wasm project
and then run "dotnet watch"
as soon as something is changed it's gonna end up with this particular message and should be restarted manually!

watch : File changed: C:\Users\alikh\source\repos\BlazorApp1\BlazorApp1\Pages\Index.razor.
watch : No hot reload changes to apply.

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyfeature-hot-reloadThis issue is related to the Hot Reload feaature

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions