From a84b5ef81b2d387091042f16398404c63b029c48 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 21 Aug 2019 13:06:43 -0700 Subject: [PATCH] build: use bazel workers for ngc and tsc in local development (#32246) PR Close #32246 --- .bazelrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bazelrc b/.bazelrc index d47a85d739..662def0f6a 100644 --- a/.bazelrc +++ b/.bazelrc @@ -146,6 +146,11 @@ build --incompatible_list_based_execution_strategy_selection=false test --incompatible_list_based_execution_strategy_selection=false run --incompatible_list_based_execution_strategy_selection=false +# Use workers for tsc and ngc when building locally. +# This config is overwritten on CI to as the worker strategy causes flakes on CI. +build --strategy=AngularTemplateCompile=worker +build --strategy=TypeScriptCompile=worker + #################################################### # User bazel configuration # NOTE: This needs to be the *last* entry in the config.