title: Angular 7+: HMR (Hot Module Replacement) does not work if any route-resolve involved
body: <p>HMR (Hot Module Replacement) is a great functionality, that works properly if no "Route-resolve" (see below) is present. </p>
  
  <p>If I remove <code>resolve</code> here:</p>
  
  <pre><code>  {
      path: 'new',
      component: BookNewComponent,
      data: {
        breadcrumb: 'book.new.breadcrumb'
      },
      resolve: {
        staticData: StaticDataResolve
      }
    },
  </code></pre>
  
  <p>HMR is working again. If <code>resolve</code> exists -> HMR reloads the whole app instead of a specific component.</p>
  
  <p>How can I solve this problem?</p>