Skip to content

Commit

Permalink
Bump @michijs/dev-server from 0.5.7 to 0.5.8 (#21)
Browse files Browse the repository at this point in the history
* Bump @michijs/dev-server from 0.5.7 to 0.5.8

Bumps [@michijs/dev-server](https://github.com/michijs/dev-server) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/michijs/dev-server/releases)
- [Commits](michijs/dev-server@v0.5.7...v0.5.8)

---
updated-dependencies:
- dependency-name: "@michijs/dev-server"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Format changes

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and github-actions[bot] authored Nov 19, 2023
1 parent 689d5d1 commit 662f4dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"michijs"
],
"devDependencies": {
"@michijs/dev-server": "0.5.7",
"@michijs/dev-server": "0.5.8",
"typescript": "5.2.2"
},
"dependencies": {
Expand Down
5 changes: 2 additions & 3 deletions src/registerServiceWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ if (
) {
window.addEventListener("load", async () => {
// register the service worker from the file specified
const registration = await navigator.serviceWorker.register(
"/service-worker.js",
);
const registration =
await navigator.serviceWorker.register("/service-worker.js");

// ensure the case when the updatefound event was missed is also handled
// by re-invoking the prompt when there's a waiting Service Worker
Expand Down

0 comments on commit 662f4dd

Please sign in to comment.