title: Angular service worker not register in development mode
body: <p>I would like to know if it' s possible to test pwa and register the serviceworker during the dev mode ( not production)</p>
  
  <p>As when i make the ng build --prod then launchhttp-server in the dist folder it works fine, but then when i do ng serve without the build it gives me the chrome error: Service Worker failed to register</p>
  
  <p>Are the procedures same on prod and dev ? as with lighthouse, the audit gives me ok on serviceworker on prod but not in dev for the same project</p>
  
  <p>Any helps or links would be appreciate</p>
  
  <p>Thanks</p>