Skip to content

Commit 1301890

Browse files
Introduce an alternative macOS implementation that uses kqueue
…to better match this library's pre-v9 behavior.
1 parent fcfcfcf commit 1301890

10 files changed

Lines changed: 665 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)