I've just pushed some watchdog changes - in auto mode it now resets it automatically, and if you reset() the auto kicking carries on. But that won't help you here because it's going to get rid of your setInterval anyway.
Best bet is to save the code to .boot0 - that should be executed regardless of whether the watch was reset or not: http://www.espruino.com/Saving
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've just pushed some watchdog changes - in auto mode it now resets it automatically, and if you
reset()
the auto kicking carries on. But that won't help you here because it's going to get rid of yoursetInterval
anyway.Best bet is to save the code to
.boot0
- that should be executed regardless of whether the watch was reset or not: http://www.espruino.com/Saving