We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9dc330 commit ba90924Copy full SHA for ba90924
packages/angular-cli/commands/serve.run.ts
@@ -50,7 +50,9 @@ function checkExpressPort(commandOptions: ServeTaskOptions) {
50
.then((foundPort: number) => {
51
52
if (commandOptions.port !== foundPort && commandOptions.port !== 0) {
53
- throw new SilentError(`Port ${commandOptions.port} is already in use.`);
+ throw new SilentError(
54
+ `Port ${commandOptions.port} is already in use. Use '--port' to specify a different port.`
55
+ );
56
}
57
58
// otherwise, our found port is good
0 commit comments