Skip to content

Commit

Permalink
Disable --watchfs on OSX in preparation for enabling it by default.
Browse files Browse the repository at this point in the history
There's no timeline right now, but it's unusable on OSX and Oracle has no
plans of fixing it.

--
MOS_MIGRATED_REVID=106486015
  • Loading branch information
ulfjack authored and dslomov committed Oct 28, 2015
1 parent ed29002 commit df7f8e6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
import com.google.devtools.build.lib.util.OS;
import com.google.devtools.build.lib.vfs.ModifiedFileSet;
import com.google.devtools.build.lib.vfs.PathFragment;

Expand Down Expand Up @@ -76,6 +77,10 @@ public DiffAwareness maybeCreate(com.google.devtools.build.lib.vfs.Path pathEntr
return null;
}
}
// Disable the file watcher on OSX due to https://bugs.openjdk.java.net/browse/JDK-7133447
if (OS.getCurrent() == OS.DARWIN) {
return null;
}

WatchService watchService;
try {
Expand Down

0 comments on commit df7f8e6

Please sign in to comment.