You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • It's all just a big hack though. What if someone's not using the Web IDE? It'll then break when they disconnect?

    On Linux (and I think on some Macs as well), if you haven't set up udev rules the OS thinks you've connected a modem, opens the connection, sends some random AT commands, and then closes it. So then Espruinos connected to those computers would inexplicably stop working as well.

    There's a huge discussion on this on GitHub somewhere.

    But my feeling is: best keep it simple. It's much better if your code breaks reliably, and you can google it, see the notes in the troubleshooting page or other places and work around it.

    If the underlying problem is still there but there are a few hacks to fix it in 90% of cases, we'll just end up with a bunch of Espruino-powered devices that just inexplicably stop working when plugged into certain computers.

About

Avatar for Gordon @Gordon started