• the timeout was just inline

    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.

About

Avatar for Gordon @Gordon started