Check out http://www.espruino.com/Saving - it should hopefully clear up what happens. By default code is executed as it is uploaded, and save() saves an image of the current intepreter state.
You can change how it works, but then you miss out on the ability to tweak things on the fly using the left-hand side of the IDE.
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.
Yes, that could be your problem.
Check out http://www.espruino.com/Saving - it should hopefully clear up what happens. By default code is executed as it is uploaded, and
save()
saves an image of the current intepreter state.You can change how it works, but then you miss out on the ability to tweak things on the fly using the left-hand side of the IDE.