From be3695788372e0e5d31bd9b5272c1da81c32a307 Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Sun, 1 Jun 2025 17:12:12 +0800 Subject: [PATCH] docs: add docs about how to enable hmr on firefox this works for both connector and wallet --- apps/connector/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/connector/README.md b/apps/connector/README.md index daa994ebc..b427add6f 100644 --- a/apps/connector/README.md +++ b/apps/connector/README.md @@ -87,6 +87,12 @@ Firefox Developer Edition > Tools > Add-ons and Themes > click on gear icon (Too > Note: Does not reload automatically, requires build and load on change. +#### Enable hot reload + +Open `about:config` in Firefox, search for `content-security-policy.v3` update `extensions.webextensions.base-content-security-policy.v3` and `extensions.webextensions.default-content-security-policy.v3` to `script-src 'self' 'unsafe-eval' 'wasm-unsafe-eval';` + +> Note: These settings affect other installed extensions as well. + ### Status Desktop #### Run