This might be a known issue with 2v0x versions (it'll be fixed for 2v05 and is fixed in cutting edge builds already) - if you write to the console while you're connected via Bluetooth but nothing is reading from the Bluetooth console then after a while the output buffer gets full and it stops responding (until it it cleared).
If you comment out the console.log it might start working again?
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.
This might be a known issue with 2v0x versions (it'll be fixed for 2v05 and is fixed in cutting edge builds already) - if you write to the console while you're connected via Bluetooth but nothing is reading from the Bluetooth console then after a while the output buffer gets full and it stops responding (until it it cleared).
If you comment out the
console.log
it might start working again?