debug: log refreshing block
This commit is contained in:
parent
797f01d9d7
commit
500d270858
1 changed files with 2 additions and 1 deletions
|
@ -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 there was already an old activated service worker, and a new activating service worker, do the reload
|
||||||
if(oldSw === 'activated' && newSw === 'activating') {
|
if(oldSw === 'activated' && newSw === 'activating') {
|
||||||
refreshing = true;
|
refreshing = true;
|
||||||
window.location.reload();
|
// window.location.reload();
|
||||||
|
console.log('>>> refreshing... not')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue