-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Hot Reload agent improvements #58333
Conversation
e97d1e9
to
14f9a5e
Compare
baf0f45
to
150d45e
Compare
Refactor agent code so that it can be shared with dotnet-watch implementation via a shared project. Add new API applyHotReloadDeltas to apply updates.
150d45e
to
f791377
Compare
src/Components/WebAssembly/WebAssembly/src/HotReload/MetadataUpdateHandlerInvoker.cs
Show resolved
Hide resolved
@MackinnonBuck @javiercn |
@tmat I don't have a lot of context on how this works at a low level, but the changes seem reasonable (I did not spot anything wrong). I saw there was a test file that was removed, are we maintaining the coverage that we had or have the tests become obsolete (or moved somewhere else). |
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.
Just a couple small suggestions, but looks great to me.
src/Components/WebAssembly/WebAssembly/src/HotReload/HotReloadAgent.cs
Outdated
Show resolved
Hide resolved
src/Components/WebAssembly/WebAssembly/src/HotReload/HotReloadAgent.cs
Outdated
Show resolved
Hide resolved
@wtgodbe the modifications to |
* Hot Reload agent improvements Refactor agent code so that it can be shared with dotnet-watch implementation via a shared project. Add new API applyHotReloadDeltas to apply updates. * Feedback and cleanup
Refactor agent code so that it can be shared with dotnet-watch implementation via a shared project.
Add new API
applyHotReloadDeltas
to apply updates. This API takes a set of deltas and returns log entries reported so far by the client.