When you change apps, everything is completely restarted - so actually I guess you don't need reload() at all - you can just read the settings in the widget once when it's first executed and everything will be fine.
Unfortunately right now there's no way to get the state of GPS/HRM/etc in Bangle.js - I know it's a bit annoying and it's something I'm planning to add into later firmwares.
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.
When you change apps, everything is completely restarted - so actually I guess you don't need
reload()
at all - you can just read the settings in the widget once when it's first executed and everything will be fine.Unfortunately right now there's no way to get the state of GPS/HRM/etc in Bangle.js - I know it's a bit annoying and it's something I'm planning to add into later firmwares.