• I require a module in RHS from website. webIDE downloads it. Does it check inside the downloaded text for a new require?

    Yes, it does...

    Does the webIDE have some way to tell the device "this is a module, insert it into your cache". What name does it give it? I mean, if I use require("http://....date.js") is it added to the cache with the full path or just the filename? (Just curious)

    Again, yes - in both cases... You can actually use uparrow on the left-hand side to see what commands the Web IDE has sent over.

    The throttle bug is probably more in the USB implementation on Espruino. Espruino does throttle the USB, but it does so using NACK responses. This works great as flow control doesn't explicitly have to be enabled, but if Espruino NACKs for too long then the PC just throws away the data sent to it.

    I think the issue is that with larger modules, Espruino takes so long to parse the module that the PC has given up sending the next packet by the time it's finished.

About

Avatar for Gordon @Gordon started