Commit 4da02ca
committed
fix(@angular/build): enable unit-test builder watch outside CI
When using the experimental `unit-test` builder, the `watch` option will
now default to true when there is an interactive terminal and not on CI.
This more closely aligns with the behavior of the existing `karma` builder
and that of vitest itself. CI is determined by the presence of a truthy
`CI` environment variable.1 parent 400a4bf commit 4da02ca
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments