Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdoming committed Oct 20, 2024
1 parent ad7b6e1 commit 22eaa25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/desktop-client/src/browser-preload.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,8 @@ document.addEventListener('keydown', e => {
}
});

registerSW({ immediate: true });
registerSW({
onNeedRefresh: () => {
console.log('SW needs refresh');
},
});

0 comments on commit 22eaa25

Please sign in to comment.