Skip to content

Commit fa7b904

Browse files
committed
docs: update description for test and default value of watch
Fixes #21473
1 parent e82eef9 commit fa7b904

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Takes the name of the project, as specified in the `projects` section of the `angular.json` workspace configuration file.
2-
When a project name is not supplied, it will execute for all projects.
2+
When a project name is not supplied and in options `--watch` is `false`, it will execute for all projects.

packages/angular_devkit/build_angular/src/karma/schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
},
110110
"watch": {
111111
"type": "boolean",
112-
"description": "Run build when files change."
112+
"description": "Run build when files change.",
113+
"default": true
113114
},
114115
"poll": {
115116
"type": "number",

0 commit comments

Comments
 (0)