From d0d6a1e389fc5beceea6346b32cae265cae44514 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Thu, 10 May 2018 18:47:38 +0100 Subject: [PATCH] fix(@angular-devkit/build-angular): emit success false on dev-server rebuilds --- packages/angular_devkit/build_angular/src/dev-server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular_devkit/build_angular/src/dev-server/index.ts b/packages/angular_devkit/build_angular/src/dev-server/index.ts index 32f21603f3..09d19da281 100644 --- a/packages/angular_devkit/build_angular/src/dev-server/index.ts +++ b/packages/angular_devkit/build_angular/src/dev-server/index.ts @@ -199,7 +199,7 @@ export class DevServerBuilder implements Builder { this.context.logger.info(statsErrorsToString(json, statsConfig)); } } - obs.next({ success: true }); + obs.next({ success: !stats.hasErrors() }); if (first && options.open) { first = false;