I guess the easiest solution would be to modify the Web IDE so that it asked and then waited for a response after sending each addModule command...
The best option is probably to implement flow control over USB (and then to turn it on in the Web IDE) - it should be possible but I'll have to do a lot of delving around in the USB libs to see how.
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.
I guess the easiest solution would be to modify the Web IDE so that it asked and then waited for a response after sending each
addModule
command...The best option is probably to implement flow control over USB (and then to turn it on in the Web IDE) - it should be possible but I'll have to do a lot of delving around in the USB libs to see how.