diff --git a/src/registerServiceWorker.js b/src/registerServiceWorker.js index c27884e2..8f2c44ef 100644 --- a/src/registerServiceWorker.js +++ b/src/registerServiceWorker.js @@ -21,6 +21,7 @@ if (process.env.NODE_ENV === 'production') { }, updated() { console.log('New content is available; please refresh.') + window.location.reload() }, offline() { console.log('No internet connection found. App is running in offline mode.')