Actually modify the existing 'open' button to use the new API. It could have a drop-down like the upload button does at the moment to choose whether to watch the file for changes or not.
The benefit of the 'open' modification is we could actually get save working nicely too (without a popup each time) which would be a really nice addition
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.
Thanks! That sounds great!
Are you able to implement it? It seems like you've got two options...
Espruino.Core.Code.set...) and call
Espruino.Core.Code.getEspruinoCode(Espruino.Core.CodeWriter.writeToEspruino);` to write the data.The benefit of the 'open' modification is we could actually get
save
working nicely too (without a popup each time) which would be a really nice addition