You should have a look at: https://github.com/espruino/BangleApps#offline
Basically the idea is to call require("Storage").write(...) to save your code in flash and make it persistent.
Following the indications of this small tutorial (choosing a name, picking an icon, etc) allows to call your app from the app menu.
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.
You should have a look at: https://github.com/espruino/BangleApps#offline
Basically the idea is to call
require("Storage").write(...)
to save your code in flash and make it persistent.Following the indications of this small tutorial (choosing a name, picking an icon, etc) allows to call your app from the app menu.