Skip to content

Commit 865ba67

Browse files
Introduce an alternative macOS implementation that uses kqueue… (#4)
* Introduce an alternative macOS implementation that uses `kqueue`… …to better match this library's pre-v9 behavior. * Remove debug logging
1 parent fcfcfcf commit 865ba67

10 files changed

Lines changed: 650 additions & 155 deletions

File tree

binding.gyp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@
121121
"conditions": [
122122
['OS=="mac"', {
123123
"sources+": [
124-
"lib/platform/FSEventsFileWatcher.cpp"
124+
"lib/platform/FSEventsFileWatcher.cpp",
125+
"lib/platform/KqueueFileWatcher.cpp"
126+
],
127+
"defines+": [
128+
"USE_KQUEUE"
125129
]
126130
}],
127131
['OS=="win"', {

0 commit comments

Comments
 (0)