build: Remove --watchfs from bazelrc file (#29635)

--watchfs is causing the build to be flaky on Windows because Bazel
doesn't have proper support for watchfs on Windows, but it doesn't seem
to bring much performance on Linux, either.

Fixes: https://github.com/angular/angular/issues/29541

PR Close #29635
This commit is contained in:
Yun Peng 2019-04-01 17:17:00 +02:00 committed by Jason Aden
parent f9497bf28b
commit 701da0099b
2 changed files with 3 additions and 6 deletions

View File

@ -35,8 +35,9 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test
# See https://github.com/bazelbuild/bazel/issues/4603 # See https://github.com/bazelbuild/bazel/issues/4603
build --symlink_prefix=dist/ build --symlink_prefix=dist/
# Performance: avoid stat'ing input files # Disable watchfs as it causes tests to be flaky on Windows
build --watchfs # https://github.com/angular/angular/issues/29541
build --nowatchfs
# Turn off legacy external runfiles # Turn off legacy external runfiles
run --nolegacy_external_runfiles run --nolegacy_external_runfiles

View File

@ -36,10 +36,6 @@ build --verbose_failures=true
build --action_env=PATH build --action_env=PATH
test --action_env=PATH --test_env=PATH test --action_env=PATH --test_env=PATH
# Disable watchfs on Windows as it causes tests to be flaky
# https://github.com/angular/angular/issues/29541
build --nowatchfs
# Exclude tests known to not work on Windows. # Exclude tests known to not work on Windows.
# Chrome web tests are currently broken. # Chrome web tests are currently broken.