With the introduction of https://github.com/zeit/serve/pull/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 .
@dawsbot Just run serve -l 5000, as described in serve --help. 馃槉
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.
Most helpful comment
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.