HMR does work to add new code to the page live, but it just piles new tags with all their css and JS to the head.
So I end up with the old styles and scripts, PLUS the new styles and scripts, and each time I save I get more and more appended to the head.
Isn't HMR supposed to "dispose" of the old styles and scripts before appending the new ones? What am I missing to make HMR properly dispose of old and tags?

HMR does work to add new code to the page live, but it just piles new tags with all their css and JS to the head.
So I end up with the old styles and scripts, PLUS the new styles and scripts, and each time I save I get more and more appended to the head.
Isn't HMR supposed to "dispose" of the old styles and scripts before appending the new ones? What am I missing to make HMR properly dispose of old and tags?