Electron won't flash user application code

After flashing for debug to run application code again you need to flash the application and deviceOS.

This can be done with:

Particle: Flash application & DeviceOS (local)