My service-worker.js file won't update automatically when I edit the file then reload the page. however when I debugging on localhost it's work perfectly fine (the service worker update automatically when reload the page just once).
Here is my code service-worker.js 
And this is the script when I use toast to notify user when update available in the page(something change in the service-worker.js) 

Aucun commentaire:
Enregistrer un commentaire