Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDoge committed Aug 18, 2024
1 parent 374c3a5 commit b3f0e0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/service/src/sw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ self.addEventListener("install", (event) => {
});

self.addEventListener("activate", (event) => {
self.clients.claim();
event.waitUntil(cacheAll());
event.waitUntil(self.clients.claim());
console.log("Activated");
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"./modules/*"
],
"scripts": {
"dev": "npm run contracts:compile && npm-run-all --parallel *:dev",
"dev": "npm-run-all --parallel *:dev",
"build": "npm run contracts:compile && npm run service:build && npm run app:build",
"preview": "npm run preview --prefix ./modules/app",
"postinstall": "npm run contracts:compile",
Expand Down

0 comments on commit b3f0e0e

Please sign in to comment.