hi , im using latest on beta on windows 10
when i run my project
hover run
the cli works at first and app starts then hot-reload , hot-restart works perfectly
but after being seconds afk or do a save on 1 .dart file in project it drops :
LOST CONNECTION TO DEVICE
and continues to log everything else an even app is working completley but
No Hot-restart and Hot-Reload
NO debugger!
when i do ctrl+c and close the app
all of my rRrrRR that didnt work for reload or restart where inside input buffer if that helps


i appreciate a fast guide or answer if possible cause we need it right now
ty
awesome job
Open a new terminal (while hover run is still running) and type: flutter attach http://127.0.0.1:50300
This will bypass hover. This way, hot reload is only be performed using the flutter toolchain.
how can i automate this ?
at least with vscode or android studio config
a little help ?
how can i automate this ?
No idea, LOST CONNECTION TO DEVICE isn't an error from go-flutter or hover but from flutter attach, so what I'm proposing isn't really an alternative, just a way to not rerun hover run every time you get the LOST CONNECTION TO DEVICE (error unknown to me).
at least with vscode or android studio config
a little help ?
Yea, sure, try:
https://github.com/go-flutter-desktop/vscode-hover
https://github.com/go-flutter-desktop/hover#ide-integration
Also, I'm a vim user. SOoooo I cannot really help you with vscode or android studio configs..
I think @jld3103 is working on an extension for Android Studio.
The VSCode extension is very new, but sure give it a try!
I thinks those issue from flutter/flutter can also help you: https://github.com/flutter/flutter/issues/26945 | https://github.com/flutter/flutter/issues/52701
I think @jld3103 is working on an extension for Android Studio.
The VSCode extension is very new, but sure give it a try!
Yeah, but I hit some barriers where I need mor documentation, examples or tutorials to break through.
Closing this issue because it's not related to go-flutter-desktop.
More info can be found on the flutter issue tracker: https://github.com/flutter/flutter/search?q=lost+connection+to+device&type=Issues
Please keep reporting your findings here! And sorry for not been able to provide you with a fix.