Skip to content

Commit 3295454

Browse files
authored
Set the FSEvents API as the default backend when running on Mac (#54)
1 parent ce46e33 commit 3295454

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/engineering/swat/watch/impl/jdk/JDKPoller.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ private static Platform current() {
202202
logger.warn("Unexpected value \"{}\" for system property \"{}\". Using value \"jdk\" instead.", val, key);
203203
return DEFAULT;
204204
}
205+
} else {
206+
return MAC;
205207
}
206208
}
207209

0 commit comments

Comments
 (0)