You are reading a single comment by @CriscoCrusader and its replies.
Click here to read the full conversation.
-
I didn't know it has that feature! Trying it now, but seem to be having troubles.
Using first port, {"path":"/dev/cu.usbmodem1421","usb":[1155,22336],"description":"Espruino board"} Connecting to '/dev/cu.usbmodem1421' Connected Espruino.Core.Utils.getURL: got HTTP status code 404 for http://www.espruino.com/modules/NetworkJS.min.js Espruino.Core.Utils.getURL: got HTTP status code 404 for http://www.espruino.com/modules/net.min.js Espruino.Core.Utils.getURL: got HTTP status code 404 for http://www.espruino.com/modules/net.js Module net not found Espruino.Core.Utils.getURL: got HTTP status code 404 for http://www.espruino.com/modules/NetworkJS.js Module NetworkJS not found
I'll probably figure out why this happens. I see these same messages sometimes in the IDE, but it's fixed if I
reset();save();
.
Hmm - it might be possible I guess. I'm not sure as it's using the Chrome APIs though - it might need to open the file dialog each time.
Did you consider just using this: https://www.npmjs.com/package/espruino
If you start that command-line app with
-w
then it'll watch the file for changes and will re-upload it each time it does.