Skip to content

feat(cli): add no-open serve option - #645

Open
Si1ver01 wants to merge 2 commits into
tajo:mainfrom
Si1ver01:feat/no-open-cli
Open

Si1ver01 wants to merge 2 commits into
tajo:mainfrom
Si1ver01:feat/no-open-cli

Conversation

@Si1ver01

Copy link
Copy Markdown

Summary

  • Add a --no-open option to ladle serve and ladle dev
  • Prevent browser opening when the option is used, including when Vite's server.open is enabled
  • Preserve the existing behavior when the option is omitted
  • Add unit and child-process regression tests
  • Update the CLI documentation and add a patch changeset

Verification

  • pnpm typecheck
  • pnpm lint
  • pnpm build
  • pnpm test
  • git diff --check

Closes #580

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to disable browser open action via CLI

1 participant