I dug into the code a bit deeper, found this :
function sendCode() line 407 espruino-cli.js`
function sendCode() line 407 espruino-cli.js
if (args.expr) { if (code) { if (code[code.length-1]!="\n") code += "\n"; } else Espruino.Config.RESET_BEFORE_SEND = false; code += args.expr+"\n"; }
So I changed RESET_BEFORE_SEND to true there and it does the same as ide then, I think. The memory was still occupied from clock face.
@d3nd3-o0 started
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.
I dug into the code a bit deeper, found this :
function sendCode() line 407 espruino-cli.js
`So I changed RESET_BEFORE_SEND to true there and it does the same as ide then, I think. The memory was still occupied from clock face.