Bug in particle cli

I’m currently in the midst of troubleshooting a problem which I think has to do with the firmware so I’m trying to downgrade the firmware and reflash.

My electron is currently in 0.5.2 and I’ve run particle flash --usb system-part2-0.5.1-electron.bin and particle flash --usb system-part1-0.5.1-electron.bin to downgrade the firmware. After that I did particle compile electron . --target 0.5.1 and particle flash --usb xxxx.bin

Now for some reason my test electron has had a lot of problems connecting today so after the first compile I edited the code and changed system mode to manual so that electron doesn’t get stuck into the connection phase for good. When I try to again compile and reflash nothing changes which leads me to believe there’s some kind of cache problem with the compiler? Or is it something else I’m overlooking?

Please see Particle API Down?