-
Notifications
You must be signed in to change notification settings - Fork 12k
documentation does not match code : ng serve #2697
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
Comments
Would you be willing to submit a PR changing this? This is the line from which |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
OSX El Capitan
Versions.
angular-cli: 1.0.0-beta.17
node: 4.5.0
os: darwin x64
Repro steps.
$ ng --help
The log given by the failure.
The help command gives this inconsistent information.
ng serve <options...>
--host (String) (Default: localhost) Listens on all interfaces by default
Either :
a) the default is "0.0.0.0", in which case "Listens on all interfaces by default" is correct; or
b) the default is "localhost", in which case "Listens on all interfaces by default" is incorrect.
Trial and error leads me to believe that the default is "localhost".
This caused me to spend debugging time, trying to understand why my "ng serve" docker container was not working.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: