Skip to content

UseStatusCodePagesWithReExecute to not-found breaks hot reload #63831

@danroth27

Description

@danroth27

Repro steps:

  • Create a default Blazor Web App with .NET 10 RC1
  • Run the app using dotnet watch
  • Browse to /foo to see the rendered Not Found page
  • Edit NotFound.razor and save the change to trigger a Hot Reload

Expected result: The Hot Reloaded changes show up in the browser
Actual result: Browser doesn't update.

If I refresh the Not Found page in the browser the change shows up. But, if I then browse to the Home page and make a change to Home.razor, I also don't see updates on the Home page. If I refresh the Home page in the browser, then the change shows up and Hot Reload then starts work for other pages.

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor Components

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions