Skip to content

Commit e676b5f

Browse files
committed
Use JDKFileTreeWatch
1 parent 6a7df86 commit e676b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/engineering/swat/watch/Watcher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ public ActiveWatch start() throws IOException {
194194
// no native support, use the simulation
195195
logger.debug("Not possible to register the native watcher, using fallback for {}", path);
196196
logger.trace(ex);
197-
var result = new JDKRecursiveDirectoryWatch(path, executor, h);
198-
// var result = new JDKFileTreeWatch(path, executor, h);
197+
// var result = new JDKRecursiveDirectoryWatch(path, executor, h);
198+
var result = new JDKFileTreeWatch(path, executor, h);
199199
result.open();
200200
return result;
201201
}

0 commit comments

Comments
 (0)