From 500d270858a686e5c512fb61e471c5ed772dd01e Mon Sep 17 00:00:00 2001 From: ayoayco Date: Sun, 18 Aug 2024 11:00:57 +0200 Subject: [PATCH] debug: log refreshing block --- src/layouts/Layout.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 13212a6..c57bf8c 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -65,7 +65,8 @@ const appTitle = article?.title ? `${article.title} | Cozy` : 'Cozy'; // if there was already an old activated service worker, and a new activating service worker, do the reload if(oldSw === 'activated' && newSw === 'activating') { refreshing = true; - window.location.reload(); + // window.location.reload(); + console.log('>>> refreshing... not') } }); }