Are you already have "Save on send" checked in the Espruino Web IDE Communication Settings?
In addition, add the onInit() method and put the connect in there.
This helped me - in my case - over some memory issues.
@allObjects 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.
Are you already have "Save on send" checked in the Espruino Web IDE Communication Settings?
In addition, add the onInit() method and put the connect in there.
This helped me - in my case - over some memory issues.