We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d70ed8e commit 9cd96bfCopy full SHA for 9cd96bf
bundles/serviceworker/public/js/serviceworker/offline.js
@@ -26,6 +26,7 @@ class EdenOffline extends Events {
26
27
// Bind methods
28
this.build = this.build.bind(this);
29
+ this.version = null;
30
31
// Build this
32
this.building = this.build();
@@ -158,6 +159,18 @@ class EdenOffline extends Events {
158
159
// config
160
const config = await this.eden.config(true);
161
162
+ // check version
163
+ if (config.version === this.version) {
164
+ // installing false
165
+ this._installing = false;
166
+
167
+ // return
168
+ return;
169
+ }
170
171
+ // set version
172
+ this.version = config.version;
173
174
// install offline cache
175
this.eden.log('info', 'installing offline cache');
176
0 commit comments