Hi. I'm using your plugin for a Jekyll project. Everything works OK, but I'm not able to listen for the sw.update event.
I tried to test the event like this:
window.addEventListener("sw.update", function() {
console.log("Site has updated");
});
... but no message is generated in the console when I regenerate the site and the service worker changes.
Hi. I'm using your plugin for a Jekyll project. Everything works OK, but I'm not able to listen for the sw.update event. I tried to test the event like this:
... but no message is generated in the console when I regenerate the site and the service worker changes.
Thanks