Skip to content

Commit 1d99274

Browse files
committed
Rename system property key to use FSEvents
1 parent 3d244ad commit 1d99274

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- image: macos-latest
1818
mac-backend: jdk
1919
- image: macos-latest
20-
mac-backend: jna
20+
mac-backend: fsevents
2121
- image: windows-latest
2222
jdk: [11, 17, 21]
2323

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ private static Platform current() {
194194
var key = "engineering.swat.java-watch.mac";
195195
var val = System.getProperty(key);
196196
if (val != null) {
197-
if (val.equals("jna")) {
197+
if (val.equals("fsevents")) {
198198
return MAC;
199199
} else if (val.equals("jdk")) {
200200
return DEFAULT;

0 commit comments

Comments
 (0)