You are reading a single comment by @diego and its replies. Click here to read the full conversation.
  • Yeah, I've experimented with making a staging step via espruino cli, but was too much trouble for a quick hack, my intention is to send it via upload on ide after I'm done with the code.

    On the web ide, the load just won't work, either on https://www.espruino.com/ide/ or https://espruino.github.io/EspruinoWebID­E/

    After clicking open with any of the four options, there's no file selection, and the console returns:

    Uncaught (in promise) DOMException: The user aborted a request.
    Promise.then (async)		
    loadFile	@	file.js:154
    click	@	file.js:61
    

    I'm using Google Chrome 96.0.4664.110 (Official Build) (64-bit) on Linux zem 5.13.0-19-generic #19-Ubuntu SMP Thu Oct 7 21:58:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux, and the "Upload a file" option on "Device storage" works with no issue.

    I think that the file watching on the IDE (with the project option) would have worked perfectly for my needs (and I would surely recommend that over this watcher), but I gave up on trying to figure out the error by looking at the code, maybe it's something on my chrome installation, I don't know.

    As I was doing the script to send data jsons to my watch, I just glued some stuff together and called it a day, sometimes you wanna hack, sometimes you just want things to work so you can get to the fun part, :P

About

Avatar for diego @diego started