From ee0973c05a545bc1495aed63727d453f8b81e7c1 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Thu, 18 Feb 2021 14:35:30 -0700 Subject: [PATCH] feat: add logs to serviceWorker --- src/browser/serviceWorker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/browser/serviceWorker.ts b/src/browser/serviceWorker.ts index 1bee59bfb..25765a1a4 100644 --- a/src/browser/serviceWorker.ts +++ b/src/browser/serviceWorker.ts @@ -1,11 +1,12 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ self.addEventListener("install", () => { - console.log("[Service Worker] install") + console.log("[Service Worker] installed") }) self.addEventListener("activate", (event: any) => { event.waitUntil((self as any).clients.claim()) + console.log("[Service Worker] activated") }) self.addEventListener("fetch", () => {