Skip to content

[dotnet-watch] .NET 10 RC2, browser doesn't update on first change of razor page #51107

@dbreshears

Description

@dbreshears

Created from https://github.com/dotnet/AspNetCore-ManualTests/issues/3086

Describe the bug

When you first update a razor page under dotnet watch in .NET 10, the browser doesn't update automatically. A page refresh does work.

To Reproduce

md Razor
cd Razor
dotnet new razor
code .
dotnet watch

Update <h1> Welcome </h1>  to <h1> Welcome Home </h1>
Save

Results

Browser doesn't update to the new "Welcome Home" text

More Info

Change it again (or refresh the browser) and it will update.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions