Since gamma-ray bursts travel at the speed of light, my state of knowledge is that, if one were to hit Earth, we would of course only see it the moment it hits us. Furthermore, to my knowledge, we haven’t observed any GRBs within the milky way yet.
However, what if there were a GRB within the...