Skip to content

Commit 78dd9d8

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

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
@@ -103,7 +103,8 @@
103103
},
104104
"watch": {
105105
"type": "boolean",
106-
"description": "Run build when files change."
106+
"description": "Run build when files change.",
107+
"default": true
107108
},
108109
"poll": {
109110
"type": "number",

0 commit comments

Comments
 (0)