You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: Decouple browser opening from watch mode in extension dev (#726)
- Add `--start-maximized` Chrome arg to extensionDev plugin
- Replace `--watch` trigger with `OPEN_BROWSER` env var for browser
opening
- Add `build:browser` script that sets `OPEN_BROWSER=true`
- Update `start.sh` scripts to use `yarn build:browser`
Browser now opens maximized so dev mode toggle is visible.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Decouples automatic browser launch from watch mode and adds a
dedicated opt‑in.
>
> - Adds `build:browser` in `packages/extension` and
`packages/omnium-gatherum`; updates `scripts/start.sh` to use it
> - Vite configs now gate `extensionDev` on `OPEN_BROWSER`
(`shouldOpenBrowser`) instead of `--watch`
> - `extension-dev` plugin launches Chrome with `--start-maximized` and
removes explicit viewport sizing
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
2fef526. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by: Claude Opus 4.5 <[email protected]>
0 commit comments