I am probably too ignorant to suggest anything...but I'm willing to look silly if it helps me learn :)
Could you put some code at the top of onInit() which does an early exit if a button is held down?
@Manxome 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.
I am probably too ignorant to suggest anything...but I'm willing to look silly if it helps me learn :)
Could you put some code at the top of onInit() which does an early exit if a button is held down?