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:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user