You are reading a single comment by @CriscoCrusader and its replies. Click here to read the full conversation.
  • 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.

  • 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":[11­55,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/NetworkJ­S.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/NetworkJ­S.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();.

About