aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Dan Fabulich <DanFabulich@gmail.com>2016-08-05 15:08:57 +0000
committerGravatar Yue Gan <yueg@google.com>2016-08-08 08:06:47 +0000
commitd313a4ec65a85e3aa8421c609f71a116ae4fc64d (patch)
tree7854a2511d92692be2b766464910ad78c7675481
parent79a5d650a8ee4ff675b76ccf607ba92f0a92a797 (diff)
Document --watchfs option
-- Change-Id: Id1f37cfe4dcb77a4af0465028f6b17e574b85954 Reviewed-on: https://bazel-review.googlesource.com/#/c/4191/ MOS_MIGRATED_REVID=129442887
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
index 1721bb5b52..eedc0067ba 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java
@@ -19,7 +19,6 @@ import com.google.devtools.build.lib.vfs.PathFragment;
import com.google.devtools.common.options.Converter;
import com.google.devtools.common.options.Option;
import com.google.devtools.common.options.OptionsBase;
-
import java.util.Map;
/**
@@ -232,11 +231,14 @@ public class BlazeServerStartupOptions extends OptionsBase {
// TODO(bazel-team): In order to make it easier to have local watchers in open source Bazel,
// turn this into a non-startup option.
- @Option(name = "watchfs",
- defaultValue = "false",
- category = "undocumented",
- help = "If true, %{product} tries to use the operating system's file watch service for local "
- + "changes instead of scanning every file for a change.")
+ @Option(
+ name = "watchfs",
+ defaultValue = "false",
+ category = "server startup",
+ help =
+ "If true, %{product} tries to use the operating system's file watch service for local "
+ + "changes instead of scanning every file for a change."
+ )
public boolean watchFS;
@Option(name = "invocation_policy",