For testing I added listening to processor getWatched (in terminal.js) to compile.js
This works fine, at least in about 50 runs.
It also runs fine, in cases where utils.executeExpression returns undefined.
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.
For testing I added listening to processor getWatched (in terminal.js) to compile.js
This works fine, at least in about 50 runs.
It also runs fine, in cases where utils.executeExpression returns undefined.