Jaguar-dart / jaguar_hotreload

Hot reloader for Dart
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

hot reload failed caused by vm service method execution was hanged #2

Closed lvscar closed 5 years ago

lvscar commented 6 years ago

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 6 years ago

Definitely!

lvscar commented 6 years ago

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 6 years ago

I will work on porting jaguar_hotreload package to Dart 2.