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

Check for browser-sync port availability #985

Open
derweili opened this issue Aug 7, 2020 · 1 comment
Open

Check for browser-sync port availability #985

derweili opened this issue Aug 7, 2020 · 1 comment

Comments

@derweili
Copy link

derweili commented Aug 7, 2020

If the browser-sync port is already in use when running npm start the script does not throw an error or a warning.

I think it would be better when the script would either abort execution with an error message or switch to a different port (automatically or after user consent).

@swashata
Copy link
Owner

swashata commented Aug 8, 2020

Hello,

This seems like a good idea and I would be open to a PR 👍. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants