hot reload failed caused by vm service method execution was hanged
Closed this issue · 3 comments
lvscar commented
I'm trying to migrate the wonderful jaguar_hotreload code to Dart2 compatible.
But in the process , I was got stuck by a potential vm service bug in Dart2 ( 2.0.0-dev.67.0).
I have submitted an issue to the dart vm_service_drivers project.
@tejainece Do you think it's meaningful to implement a sub process restarting based hot reload function?
tejainece commented
Definitely!
lvscar commented
I found a third part workaround for implementing a sub process restarting based hot reload. Using watchexec .
$ watchexec -e dart -r dart bin/main.dart
Look forward to switch back to dart vm based hot reload in the future.
tejainece commented
I will work on porting jaguar_hotreload
package to Dart 2.