I created a new angular project and set up HMR as explained here:
The project contains main component (parent) which has
router-outlet and links to 3 child components which are lazy loaded.
Note: I am also using custom
RouteReuseStrategy but it has no effect on the HMR as far as I tested.
No matter what file I am changing – .html or .ts (parent/children) the whole app reloads.
I’ve set up a basic repo which can be found here: