Try global.setWatch = ... - that seems to work. Not 100% sure why doing it directly wouldn't work - I'll file a bug
global.setWatch = ...
© Espruino, powered by microcosm.
Report a problem