Yeah, the app loader doesn't connect to the emulator: it opens the IDE and tells it to load the app.js code.
So it only works for apps that simply run a single file without needing any other files, otherwise it's better to disable allow_emulator.
You can get more complex apps to work by manually uploading all parts to the emulator, which can be worth the effort for testing/screenshotting.
(And yes, having the App Loader open the emulator directly would be nice.)
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.
Yeah, the app loader doesn't connect to the emulator: it opens the IDE and tells it to load the
app.js
code.So it only works for apps that simply run a single file without needing any other files, otherwise it's better to disable
allow_emulator
.You can get more complex apps to work by manually uploading all parts to the emulator, which can be worth the effort for testing/screenshotting.
(And yes, having the App Loader open the emulator directly would be nice.)