From 574d309cda0ec46ab700f6fc0d97f3813c947629 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Fri, 16 Oct 2020 14:36:18 +0200 Subject: [PATCH] fix(@angular-devkit/build-angular): don't set watchOptions in webpack-middleware `webpack-dev-middleware` doesn't have a `watchOptions` See: https://github.com/webpack/webpack-dev-middleware/blob/master/src/options.json --- .../angular_devkit/build_angular/src/webpack/plugins/karma.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/angular_devkit/build_angular/src/webpack/plugins/karma.ts b/packages/angular_devkit/build_angular/src/webpack/plugins/karma.ts index b049408eda73..ae7876f027ac 100644 --- a/packages/angular_devkit/build_angular/src/webpack/plugins/karma.ts +++ b/packages/angular_devkit/build_angular/src/webpack/plugins/karma.ts @@ -120,7 +120,6 @@ const init: any = (config: any, emitter: any, customFileHandlers: any) => { // Hide webpack output because its noisy. logLevel: 'error', stats: false, - watchOptions: { poll: options.poll }, publicPath: '/_karma_webpack_/', };