Ionic/stencil Service Workers don't auto update

I’m using a ionic starter pwa and I’ve added service worker in my stencil.config.ts.
I’ve added my pwa to my mobile homepage but If I build another version of the pwa, with npm run build and then deploy the pwa, the app on my phone don’t update.

Stencil doc here says this but don’t work for me.

"Also, because the files Stencil generates are hashed, every time you do a production build and push an update to your app, the service worker will know to update, therefore ensuring your users are never stuck on a stale version of your site." 

This is my stencil.config.ts.

  outputTargets: [
      type: "www",
      serviceWorker: {
        globPatterns: [