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

[feature] option to fail on port conflict #137

Open
sbeckeriv opened this issue May 19, 2022 · 1 comment
Open

[feature] option to fail on port conflict #137

sbeckeriv opened this issue May 19, 2022 · 1 comment

Comments

@sbeckeriv
Copy link

Dearest Maintainer,

I have a build script that runs this. It creates a forked processes that it does not kill. the command it runs is sirv public --no-clear "--dev" "--port" "8080" after rebooting from a lack of memory i realized when i would run my code it would open a new port. ➡ Port 8080 is taken; using 33045 instead I would like to see an error if the port I requested is in use. Suggest a new port but error?

Thanks for your on this project.
Becker

@brunnerh
Copy link

An option to just wait for the port to free up would also be helpful. If a build script restarts the server, it is not helpful if the application all of a sudden runs on a separate port.

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

No branches or pull requests

2 participants