Skip to content

Commit 1a9286c

Browse files
author
Igor Zinkovsky
committed
update fs_event_wrap.cc to work with new uv_fs_event_init api
1 parent 6545a6d commit 1a9286c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fs_event_wrap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Handle<Value> FSEventWrap::Start(const Arguments& args) {
105105

106106
String::Utf8Value path(args[0]->ToString());
107107

108-
int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent);
108+
int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent, 0);
109109
if (r == 0) {
110110
// Check for persistent argument
111111
if (!args[1]->IsTrue()) {

0 commit comments

Comments
 (0)