I've been meaning to do a node command-line tool using EspruinoTools (the start of it is here) for a while, which would allow you to do this kind of thing while also doing some of the stuff that the Web IDE does behind the scenes (auto-loading modules, assembler, etc).
There is also espruino-cli but it works by just reimplementing everything - so it only does very basic stuff.
If you want to get it working quickly and easily for lots of boards, you may find Windows gets in the way (as I think it may want to allocate a new COM port for each new device).
If you use something Linux-based (for example a raspberry pi) you can actually make it so you run a program as soon as the device is plugged in. It's what Seeed do when testing the Espruino boards after manufacture.
If you're interested in that, let me know and I can give you some better example code.
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.
That's great - thanks for posting it up :)
I've been meaning to do a node command-line tool using EspruinoTools (the start of it is here) for a while, which would allow you to do this kind of thing while also doing some of the stuff that the Web IDE does behind the scenes (auto-loading modules, assembler, etc).
There is also espruino-cli but it works by just reimplementing everything - so it only does very basic stuff.
If you want to get it working quickly and easily for lots of boards, you may find Windows gets in the way (as I think it may want to allocate a new COM port for each new device).
If you use something Linux-based (for example a raspberry pi) you can actually make it so you run a program as soon as the device is plugged in. It's what Seeed do when testing the Espruino boards after manufacture.
If you're interested in that, let me know and I can give you some better example code.