Yeah, the socket support is based on Chrome's socket API, which is different from Node's API.
Modifying https://github.com/espruino/EspruinoTools/blob/gh-pages/core/serial_socket.js or creating a new file that used Node's sockets wouldn't be too painful for someone to do though.
Either that or as @Wilberforce suggests, use -o to output to a temporary file, then use telnet to push it to the ESP8266
-o
@Gordon started
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.
Yeah, the socket support is based on Chrome's socket API, which is different from Node's API.
Modifying https://github.com/espruino/EspruinoTools/blob/gh-pages/core/serial_socket.js or creating a new file that used Node's sockets wouldn't be too painful for someone to do though.
Either that or as @Wilberforce suggests, use
-o
to output to a temporary file, then use telnet to push it to the ESP8266