We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8440a17 commit e0d0d19Copy full SHA for e0d0d19
packages/angular_devkit/build_angular/src/dev-server/index.ts
@@ -67,7 +67,7 @@ export class DevServerBuilder implements Builder<DevServerBuilderOptions> {
67
let first = true;
68
let opnAddress: string;
69
70
- return from(checkPort(options.port, options.host)).pipe(
+ return from(checkPort(options.port || 0, options.host || 'localhost', 4200)).pipe(
71
tap((port) => options.port = port),
72
concatMap(() => this._getBrowserOptions(options)),
73
tap(opts => browserOptions = normalizeBuilderSchema(
0 commit comments