Thanks for your response @alwaysblank! The linked modification to disable HMR / BrowserSync indeed does help in the situation I had.
Moreover, I’ve earlier experienced some “reload loop” issues with HMR (BrowserSync keeps reloading infinitely upon JavaScript changes), where the same mod may help, so it’s good have it readily available should a need arise.