Try global.setWatch = ... - that seems to work. Not 100% sure why doing it directly wouldn't work - I'll file a bug
global.setWatch = ...
@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.
Try
global.setWatch = ...
- that seems to work. Not 100% sure why doing it directly wouldn't work - I'll file a bug