I wrote the localModules code for node so I haven't tested if it is browser compatible
The serial stuff doesn't stop you manually providing a port using -p -port it only affects the auto-selection of the 'first' port and limits it to the 'first espruino like port (STM32Fxxx)'
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.
OK.
But 2 things:
localModules
code for node so I haven't tested if it is browser compatible-p -port
it only affects the auto-selection of the 'first' port and limits it to the 'first espruino like port (STM32Fxxx)'