update, i found a way around it, probably exposing a bug?
i did the follwing to avoid duplicate appstart basically.
E.on('init', startApp); startApp();
and
function startApp(){ if(appStarted){ return; }
The "bug" that listeners are added twice is still there, but this avoids it.
@sfnk 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.
update, i found a way around it, probably exposing a bug?
i did the follwing to avoid duplicate appstart basically.
and
The "bug" that listeners are added twice is still there, but this avoids it.