Ahh, ok, as you've changed a bunch of stuff in your app loader, is it at all possible that you've got the code defined again somewhere else?
So Widgets, but also boot code (which runs for every app)
You could try searching all js files with:
require("Storage").list().filter(f=>f.endsWith(".js")).forEach( f => {
if (require("Storage").read(f).includes('"connect"')) print(f+" contains connect");
})
that searches for the text "connect" but you could extend it to search for some other more useful search phrase
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.
Ahh, ok, as you've changed a bunch of stuff in your app loader, is it at all possible that you've got the code defined again somewhere else?
So Widgets, but also boot code (which runs for every app)
You could try searching all js files with:
that searches for the text
"connect"
but you could extend it to search for some other more useful search phrase