[vm_service] IsolateReload event not sent after reloadSources call #49491
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
P2
A bug or feature request we're likely to work on
pkg-vm-service
triaged
Issue has been triaged by sub team
Tested with:
In an attempt to answer the following Stackoverflow question:
https://stackoverflow.com/questions/73046539/how-can-one-respond-to-a-hot-reload
I got into trying to use the
vm_service
package to receive events about isolates being reloaded (hot reloaded?). But it does not seem likeIsolateReload
(or any Isolate event) are being sent when doingreloadSources
.I also checked the web traffic to Dart Observatory and Dart DevTools (both also subscribes to the
EventStreams.kIsolate
but they seems to also not getting any event for reloading isolates.But the code (and therefore the
Isolate
) are being reloaded since I can verify changes to thesomeMethod()
are being loaded every 5 second.Program for reproduce the issue:
I have tried executing the program with the following different ways without any observed difference:
The text was updated successfully, but these errors were encountered: