feat: enable React Scan in web HMR dev mode

Adds a new `hmr-react-scan` web dev option in `oc-dev`
Turns on React Scan via `VITE_ENABLE_REACT_SCAN` for that mode
Documents Electron workspace trust so fresh installs fetch the runtime automatically
This commit is contained in:
Bohdan Triapitsyn
2026-07-20 12:54:46 +03:00
parent 70e7c37372
commit ca1cf9a3d1
3 changed files with 10 additions and 2 deletions
+2
View File
@@ -38,6 +38,8 @@ bun run electron:dev
`bun run electron:dev` starts the web dev server with HMR, then launches Electron against `packages/electron/main.mjs`.
The Electron workspace package trusts Electron's install script so `bun install` downloads the platform runtime in fresh checkouts and worktrees.
Useful variants:
```bash
+3
View File
@@ -17,6 +17,9 @@
"electron": "^41.2.1",
"electron-builder": "^26.0.0"
},
"trustedDependencies": [
"electron"
],
"desktopPrerequisites": [
"Electron runtime dependencies installed via bun install",
"Bun available for sidecar compilation",