Skip to content

[browser] Watch doesn't rebuild wasmbrowser application #101237

Open
@maraf

Description

@maraf

Using dotnet watch run doesn't work with wasmbrowser template

PS samples WasmBrowserNew> dotnet watch run
dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
  💡 Press "Ctrl + R" to restart.
dotnet watch 🔧 Building...
Restore complete (0.5s)
You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
  WasmBrowserNew succeeded (2.3s) → bin\Debug\net9.0\WasmBrowserNew.dll

Build succeeded in 3.0s
dotnet watch 🚀 Started
WasmAppHost --use-staticwebassets --runtime-config ...\WasmBrowserNew.runtimeconfig.json

App url: http://localhost:5056/
App url: https://localhost:7231/
Debug at url: http://localhost:5056/_framework/debug
Debug at url: https://localhost:7231/_framework/debug
dotnet watch ⌚ Connecting to the browser is taking longer than expected ...
dotnet watch ⌚ Connecting to the browser is taking longer than expected ...
dotnet watch ⌚ File changed: .\Program.cs.
dotnet watch ⌚ Connecting to the browser is taking longer than expected ...
dotnet watch ⌚ Connecting to the browser is taking longer than expected ...
dotnet watch 🛑 Shutdown requested. Press Ctrl+C again to force exit.

Metadata

Metadata

Assignees

Labels

Priority:2Work that is important, but not critical for the releasearch-wasmWebAssembly architecturearea-Build-monoos-browserBrowser variant of arch-wasm

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions