Skip to content

Commit e87209c

Browse files
devoto13hansl
authored andcommitted
fix(@angular/cli): disable progress when running Karma directly outside TTY
Fixes a shortcoming of #8501. Apply same logic for setting --progress flag when running Karma directly (as opposed to running it using `ng test` command). Fixes #8148
1 parent 8ca3de7 commit e87209c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@angular/cli/plugins/karma.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const init: any = (config: any, emitter: any, customFileHandlers: any) => {
5353
environment: 'dev',
5454
codeCoverage: false,
5555
sourcemaps: true,
56-
progress: true,
56+
progress: process.stdout.isTTY === true,
5757
preserveSymlinks: false,
5858
}, config.angularCli);
5959

0 commit comments

Comments
 (0)