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

Document port changing in v7 #387

Closed
dawsbot opened this issue May 29, 2018 · 2 comments
Closed

Document port changing in v7 #387

dawsbot opened this issue May 29, 2018 · 2 comments

Comments

@dawsbot
Copy link

dawsbot commented May 29, 2018

With the introduction of #374, we're finding that serving from a port besides 3000 is not configurable. We have our infrastructure setup to respect 5000 instead. This does not appear to be documented in npx serve@7 --help.

Previously with serve v6, we could say serve -p 5000 .

@leo
Copy link
Contributor

leo commented May 29, 2018

@dawsbot Just run serve -l 5000, as described in serve --help. 😊

@leo leo closed this as completed May 29, 2018
@dawsbot
Copy link
Author

dawsbot commented May 29, 2018

I think the fanciness of expanding support for "port" to "one or more interfaces/ports, UNIX domain sockets, or Windows named pipes" is my confusion. Thank you for teaching me this.

I'm assuming you'll find other new folks have complaints over time about ease of understanding. I know Zeit prides itself on zero-config and simple configuration, so the feedback that these arg changes weren't easy enough to figure out might be worth weight.

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