diff options
| author | Kit La Touche <kit@transneptune.net> | 2024-11-06 22:59:29 -0500 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2024-11-06 22:59:29 -0500 |
| commit | 8751155e24f020802d1c387af19318edceaa39d2 (patch) | |
| tree | 1dd932e18c4054d058d5719b6cc80dac8ff458fa | |
| parent | 742b358724619eedbc41680694094735d899d046 (diff) | |
Add comment explaining why this isn't happy in Firefox
| -rw-r--r-- | ui/service-worker.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/service-worker.js b/ui/service-worker.js index e29fab3..033c8d9 100644 --- a/ui/service-worker.js +++ b/ui/service-worker.js @@ -3,6 +3,12 @@ /// <reference lib="esnext" /> /// <reference lib="webworker" /> +// Because of this line, this service worker won't run in dev mode in Firefox. +// Only Safari, Edge, Chrome can run it at the moment, because only they +// support modules in service workers. +// +// That's okay! If you run `tools/run` with HI_DEV unset, you will get the +// bundled version, and can work on it. Or just use Safari. import { build, files, version } from '$service-worker'; // Create a unique cache name for this deployment |
