-
• #2
There's an Espruino CLI tool that you can use to do uploads of individual files: https://www.npmjs.com/package/espruino
When developing I'd suggest you use the IDE though - that can upload directly to a storage file on the device so you can make changes/upload and develop really quickly with that.
Or you actually wanted to do a kind of
apploader install foobar
command? -
• #3
The espruino cli package is quite interesting, thank you!
I was thinking about something like the
gradle installDebug
from the Android world. You could work in the editor of your choice and execute anpm run install $myFancyApp
on the cli. I think this would speed up things. -
• #4
Ok, just added
bin/apploader.js
. Should be ok for you to do some rough development work with anyway
When developing apps I find it very annoying to run a local webserver and deploying the apps via the chrome browser.
Has someone worked on providing the uploadApp() functionality from js/index.js as npm run script?