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

--no-port-switching arg is ignored in CLI #751

Open
loichuder opened this issue Dec 22, 2022 · 2 comments
Open

--no-port-switching arg is ignored in CLI #751

loichuder opened this issue Dec 22, 2022 · 2 comments

Comments

@loichuder
Copy link

Description

When running serve --no-port-switching with something already on port 3000, serve simply picks another port, ignoring the --no-port-switching flag aimed at forcing the use of a port (#365) .

Running serve --no-port-switching for version 13.0.4 gives the intended behaviour and throws an error: address already in use :::3000 so I think the regression was introduced by the 14.0.0 update.

Library version

14.0.0 and above

Node version

16.18.0

@nate141
Copy link

nate141 commented Jan 5, 2023

looks like it was not moved over to Type script

@David-Bear
Copy link

I am still experiencing this using 14.2.1.

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

3 participants