We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DIRTY
DIFF
1 parent 6f436a8 commit 3afc76fCopy full SHA for 3afc76f
README.md
@@ -40,7 +40,7 @@ Start using java-watch:
40
var directory = Path.of("tmp", "test-dir");
41
var watcherSetup = Watcher.watch(directory, WatchScope.PATH_AND_CHILDREN)
42
.withExecutor(Executors.newCachedThreadPool()) // optionally configure a custom thread pool
43
- .onOverflow(Approximation.DIRTY) // optionally configure a handler for overflows
+ .onOverflow(Approximation.DIFF) // optionally configure a handler for overflows
44
.on(watchEvent -> {
45
System.err.println(watchEvent);
46
});
0 commit comments