diff --git a/docs/BAZEL.md b/docs/BAZEL.md index 4e129f28cb..b10552f6fa 100644 --- a/docs/BAZEL.md +++ b/docs/BAZEL.md @@ -68,7 +68,26 @@ new as of May 2017 and not very stable yet. You can use [ibazel] to get a "watch mode" that continuously keeps the outputs up-to-date as you save sources. +### Various Flags Used For Tests + +If you're experiencing problems with seemingly unrelated tests failing, it may be because you're not using the proper flags with your Bazel test runs in Angular. + +See also: [`//tools/bazel.rc`](https://github.com/angular/angular/blob/master/tools/bazel.rc) where `--define=ivy=false` is defined as default. + +- `--config=debug`: build and launch in debug mode (see [debugging](#debugging) instructions below) +- `--define=compile=