It looks like it has something to do with the charge in the caps, hence the waiting a few seconds with it unplugged triggering it.
The voices in my head are saying it's the USB port's current limiting briefly disconnecting power because it's unhappy about the inrush current....
@DrAzzy 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.
It looks like it has something to do with the charge in the caps, hence the waiting a few seconds with it unplugged triggering it.
The voices in my head are saying it's the USB port's current limiting briefly disconnecting power because it's unhappy about the inrush current....