diff --git a/src/registerServiceWorker.js b/src/registerServiceWorker.js index 9fc727ff..cdbbd0d9 100644 --- a/src/registerServiceWorker.js +++ b/src/registerServiceWorker.js @@ -23,8 +23,7 @@ if (process.env.NODE_ENV === 'production') { console.log('New content is available; please refresh.') caches.keys().then(function(names) { for (let name of names) caches.delete(name); - }); - window.location.reload() + }) }, offline() { console.log('No internet connection found. App is running in offline mode.')