-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser refresh and WASM delta applier refactoring #44539
Conversation
Thanks for your PR, @tmat. |
f0fabb8
to
06c7824
Compare
@tlmii @phil-allen-msft ptal |
06c7824
to
71d3256
Compare
71d3256
to
3b6e0a8
Compare
@@ -8,10 +8,12 @@ export function receiveHotReload() { | |||
export async function receiveHotReloadAsync() { | |||
const response = await fetch('/_framework/blazor-hotreload'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you think of any way in which the implementor of _framework/blazor-hotreload is from a different SDK version but this injected JS code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that will be a problem. We can remove this once we migrate ASP.NET to the newer API and insert it into the SDK. This is temporary so that we can make the changes incrementally.
Improves browser connection management and delta application to WASM.
Includes PDB delta in the update payload.
Sends logs from the client back to dotnet-watch.
Prepares agent code for sharing with ASP.NET.
Fixes issues with delta application when multiple browsers are connected to the same dev server.