Having problem flashing the photon today

I can successfully flashed my photon and worked perfectly yesterday. but today, I was just flashing the same sketch, it stated successful but just didn’t work as before. Tried factory reset, didnt work either. It only works if I refresh it to the Tinker, all other sketches did not work even a very simple one.

Why is that? Thanks anyone for help.

even this simple one did not work, and took much longer to flash then before:

void setup()
{
  pinMode(D7, OUTPUT);
}

void loop()
{
  digitalWrite(D7, HIGH);
  delay(500);

  digitalWrite(D7, LOW);
  delay(500);

}

I suspect something wrong on the server

I use the atom editor and have noticed that behavior sometimes too. If I just close atom and reopen it flashes right away. I don’t know if you are on the web ide or atom but maybe try it.

Thanks! Yes, I was learning the command line interface. After logged out, I got one photon working now, but the other one still the same, it took so long to flash but no success.

Using the CLI, could you try particle update when in DFU mode? Then, particle flash --usb tinker. After that, try flashing your application once it’s in breathing cyan.