Nope, uploading modules and uploading your code in the editor are independent things.
The upload of the code goes through the code and finds all your require("moduleName") occurrences an uploads the modules separately and does the same with each module it uploads, which guarantees that nested required modules will be found in the Modules cache at runtime when your code will run and 'ask' for them (...when the require(...) is finally actually executed...)
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.
Nope, uploading modules and uploading your code in the editor are independent things.
The upload of the code goes through the code and finds all your
require("moduleName")
occurrences an uploads the modules separately and does the same with each module it uploads, which guarantees that nested required modules will be found in theModules
cache at runtime when your code will run and 'ask' for them (...when therequire(...)
is finally actually executed...)