Immediately Load Latest App
This commit is contained in:
1 parent
b5f8c4a237
commit
f89202ee62
2 files changed
+9
-3
No files matched your search
@@ -20,7 +20,8 @@ if (process.env.NODE_ENV === 'production') {
|
||||
console.log('New content is downloading.')
|
||||
},
|
||||
updated() {
|
||||
console.log('New content is available; please refresh.')
|
||||
console.log('New content is available.');
|
||||
window.location.reload();
|
||||
},
|
||||
offline() {
|
||||
console.log('No internet connection found. App is running in offline mode.')
|
||||
|
||||
Reference in new issue
Block a user