The whole automatically changing console is something that probably needs improving across Espruino. It'd be nice to just remember whether it was explicitly set and then always use that, but then you probably need some way to make it automatic again.
But as @tve says, it looks like it's just a few small tweaks needed to get it working correctly.
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.
The whole automatically changing console is something that probably needs improving across Espruino. It'd be nice to just remember whether it was explicitly set and then always use that, but then you probably need some way to make it automatic again.
But as @tve says, it looks like it's just a few small tweaks needed to get it working correctly.