Skip to content

Commit 0edb6c6

Browse files
MeAkibdgp1130
authored andcommitted
fix(@angular/build): forward the poll and progress options to the karma build setup
The karma builder schema documents the `poll` and `progress` options, but the application build it starts never receives them: `--no-progress` still logs build progress and `poll` does not switch the file watcher to polling. The legacy webpack-based karma builder honored both options. Forward both values to the build options. No new test since both are pass-through options; the package unit tests cover the compilation of the changed setup.
1 parent acb3c8b commit 0edb6c6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/angular/build/src/builders/karma/application_builder.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ async function setupBuildOptions(
195195
polyfills,
196196
webWorkerTsConfig: options.webWorkerTsConfig,
197197
watch: options.watch,
198+
poll: options.poll,
199+
progress: options.progress,
198200
stylePreprocessorOptions: options.stylePreprocessorOptions,
199201
inlineStyleLanguage: options.inlineStyleLanguage,
200202
fileReplacements: options.fileReplacements,

0 commit comments

Comments
 (0)