but the setWatch on BTN nevers runs.
The issue could be that the button is already pressed when the Bangle reboots? So you don't get a watch event because there was no state change.
Instead you might also want a if (BTN.read()) E.kickWatchdog()
if (BTN.read()) E.kickWatchdog()
@Gordon 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.
The issue could be that the button is already pressed when the Bangle reboots? So you don't get a watch event because there was no state change.
Instead you might also want a
if (BTN.read()) E.kickWatchdog()