You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -136,10 +136,9 @@ the `-prod` flag in either `ng build -prod` or `ng serve -prod`.
136
136
ng test
137
137
```
138
138
139
-
Tests will execute after a build is executed via [Karma](http://karma-runner.github.io/0.13/index.html)
139
+
Tests will execute after a build is executed via [Karma](http://karma-runner.github.io/0.13/index.html), and it will automatically watch your files for changes.
140
140
141
-
If run with the watch argument `--watch` (shorthand `-w`) builds will run when source files have changed
142
-
and tests will run after each successful build
141
+
You can run tests a single time via `--watch=false`, and turn off building of the app via `--build=false` (useful for running it at the same time as `ng serve`).
143
142
144
143
**WARNING:** On Windows, `ng test` is hitting a file descriptor limit (see https://github.com/angular/angular-cli/issues/977).
145
144
The solution for now is to instead run `ng serve` and `ng test --build=false` in separate console windows.
0 commit comments