Sometimes, plenty of fuel builds up for that dwarf to collapse, primary its carbon to fuse nearly instantaneously and the dwarf to explode in a kind I supernova, which can outshine a galaxy for just a handful of months. A few generations of stars may perhaps exist based upon metallicity. https://jeffrey34je3.thelateblog.com/38173890/the-2-minute-rule-for-star