What exactly does the WebIDE do when the button "send to Espruino" is pressed? Especially, how does it handle
requires
compiled functions
minification
and what does it send over the serial interface?
The reason for my question is that I would like to use a task runner (such as grunt) to generate JavaScript from other stuff and deploy it to Espruino, since it would be bothersome to always copy and paste the result into the WebIDE. I basically need a command-line version of the send-to-Espruino button... what would it have to do?
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.
What exactly does the WebIDE do when the button "send to Espruino" is pressed? Especially, how does it handle
and what does it send over the serial interface?
The reason for my question is that I would like to use a task runner (such as grunt) to generate JavaScript from other stuff and deploy it to Espruino, since it would be bothersome to always copy and paste the result into the WebIDE. I basically need a command-line version of the send-to-Espruino button... what would it have to do?