From b510ee2fcf6acfd99af4a52c6550d6d7b2881d14 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 --- .bazelrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bazelrc b/.bazelrc index d47a85d739293..662def0f6ae58 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.