title: Disable service workers when in development mode.
body: <p>In case of our development, we serve files from <a href="https://localhost" rel="noreferrer">https://localhost</a> as the app is hosted in salesforce.com. In chrome service worker on chrome blocks anything coming from self-signed server i.e (<a href="https://localhost" rel="noreferrer">https://localhost</a>).</p>
  
  <p>So is there a way to disable/unregister service workers when in development mode. Any pattern to follow for this. </p>
  
  <p>Thanks </p>