Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically try the next available port #805

Open
ricvelozo opened this issue May 29, 2024 · 1 comment · May be fixed by #806
Open

Automatically try the next available port #805

ricvelozo opened this issue May 29, 2024 · 1 comment · May be fixed by #806
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ricvelozo
Copy link

Automatically try the next available port by default, if the port is already being used, like Vite. Vite has a second option to disable this behavior, if necessary.

Useful when there are other moving parts in the system, and you just want to trunk serve --open.

@ctron
Copy link
Collaborator

ctron commented May 31, 2024

Sounds like a good idea. Can you come up with a PR?

@ctron ctron added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 31, 2024
@ricvelozo ricvelozo linked a pull request May 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants