summaryrefslogtreecommitdiff
path: root/ui/service-worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/service-worker.js')
-rw-r--r--ui/service-worker.js6
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