I guess I'll post this for others to find since I figured it out as I was making this post.
So despite making sure I don't execute at boot event after reset, I couldn't seem to clear my code from flash without doing E.setBootCode() which I understand might be problematic if my code crashes.
I solved the problem by re-flashing the firmware and it seems to have fixed it.
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 guess I'll post this for others to find since I figured it out as I was making this post.
So despite making sure I don't execute at boot event after reset, I couldn't seem to clear my code from flash without doing E.setBootCode() which I understand might be problematic if my code crashes.
I solved the problem by re-flashing the firmware and it seems to have fixed it.