From semiconductor to metal in a flash: capturing the electron and lattice dynamics