Thanks - seems like an issue with addCached resetting the state then. I'll file a bug for it.
To be honest it's really not meant to be used like that - it's literally just for loading a module in right at the start of the code. What were you trying to achieve? There might be an easier way?
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.
Thanks - seems like an issue with addCached resetting the state then. I'll file a bug for it.
To be honest it's really not meant to be used like that - it's literally just for loading a module in right at the start of the code. What were you trying to achieve? There might be an easier way?