An old site had a service worker called service-worker.js, now I'm using GatsbyJS gatsby-plugin-offline and automatically create a sw.js. The problem is that the new sw.js won't update the site, it installs but not take the place of the old one.
Is there a way to fix this behavior?
I read about self.skipWaiting() but the Gatsby plugin already use skipWaiting().