aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/proxy.js
diff options
context:
space:
mode:
Diffstat (limited to 'mascara/src/proxy.js')
-rw-r--r--mascara/src/proxy.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/mascara/src/proxy.js b/mascara/src/proxy.js
index ec5665240..eabc547b4 100644
--- a/mascara/src/proxy.js
+++ b/mascara/src/proxy.js
@@ -20,6 +20,7 @@ background.on('ready', (_) => {
pageStream.pipe(swStream).pipe(pageStream)
})
+background.on('updatefound', () => window.location.reload())
background.on('error', console.error)
background.startWorker()