mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
build: avoid unnecessary re-evaluation of starlark code
The experimental allow tags propagation flag is a `BuildLanguage` option and causes all Starlark code to be re-invoked. This causes a slow-down when switching between bazel query/ bazel build because the option is not set for `bazel query`. We fix it by applying the option to all commands, using `common`.
This commit is contained in:
parent
c8ac660d8b
commit
a8968b6f6e
2
.bazelrc
2
.bazelrc
@ -50,7 +50,7 @@ test --incompatible_strict_action_env
|
|||||||
build --experimental_remote_merkle_tree_cache
|
build --experimental_remote_merkle_tree_cache
|
||||||
|
|
||||||
# Ensure that tags applied in BUILDs propagate to actions
|
# Ensure that tags applied in BUILDs propagate to actions
|
||||||
build --experimental_allow_tags_propagation
|
common --experimental_allow_tags_propagation
|
||||||
|
|
||||||
# Don't check if output files have been modified
|
# Don't check if output files have been modified
|
||||||
build --noexperimental_check_output_files
|
build --noexperimental_check_output_files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user