I don't think we would really know it was coming. Because when a supernova occurs the gasses are released and they expand, but they would not reach us. Its the release of gamma rays that we should be concerned with. And since gamma rays are 'light' and part of the electromagnetic spectrum we couldn't see it before it hit us. We wouldn't even see the explosion of gasses before the game rays hit.