@Gordon Thanks very much Gordon for your help!
I have added the ws.on('close') and confirmed it works, and also rebuilt with your fix and confirmed that throws an error too!
ws.on('close')
When you mentioned quit() above - that does not work in the left side of ide - where do you use this?
quit()
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Gordon
Thanks very much Gordon for your help!
I have added the
ws.on('close')
and confirmed it works, and also rebuilt with your fix and confirmed that throws an error too!When you mentioned
quit()
above - that does not work in the left side of ide - where do you use this?