And if you do remove those lines, you won't even be able to reboot the Bangle except either from code, or if that doesn't work, by waiting until the battery goes flat - so use it with extreme caution!
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.
If you remove the
if (BTN)
lines here so kickWatchdog always runs that'll fix it: https://github.com/espruino/Espruino/blob/372d4afa4a9da3ad61ddc15ca32a149d5c4da40a/libs/banglejs/jswrap_bangle.c#L1202-L1206But honestly you shouldn't have issues with kickWatchdog if you follow what's at https://www.espruino.com/Bangle.js+Button+Reset
And if you do remove those lines, you won't even be able to reboot the Bangle except either from code, or if that doesn't work, by waiting until the battery goes flat - so use it with extreme caution!