Wrong class/type of star to explode. But will consume the earth eventually near the end of it’s life. Btw, it would probably take about 8 minutes before earth was affected. If the sun just disappeared right now, we wouldn’t see it for about 8 minutes. Then lights out.
We discover new things all the time. This could be the first discovery of a star the class of our own sun's that has this sort of spontaneous supernova.
And, by the time the visible light gets to us to warn us, the nasty stuff (gamma rays, etc.) will be right on it's heels.