Skip to content

Conversation

nico-bachner
Copy link
Contributor

Currently, the dev server automatically opens a new browser tab/window when running dev, but this can be confusing to users (especially on MacOS, where it shuffles the windows around).

Also, it is currently not possible to opt out this effect.

Disabling it by default seems like the best solution to me, since users are not forced to use the immediate open functionality, but can still opt in to this behaviour using the --open flag.

@antfu antfu changed the title fix(cli): make dev server open localhost only when specified fix(cli): not open browser by default May 8, 2021
@antfu antfu merged commit bb0ef25 into slidevjs:main May 8, 2021
antfu pushed a commit that referenced this pull request Mar 7, 2024
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.

2 participants