Ahh - that's interesting. Is the device you're connecting to printing data to the console all the time?
So what usually happens is the Web IDE connects and sends ping/notify messages every few seconds, which force EspruinoHub to stay connected. When the IDE stops (eg the window is shut or you disconnect), after a few seconds EspruinoHub times out and disconnects.
I wonder if having the device you're connected to sending data back to EspruinoHub causes it not to time out? Could you try stopping the device from sending anything, and see if it then auto-disconnects?
© Espruino, powered by microcosm.
Report a problem