From 991a3b97f9de0c90b77d18abc05a288456c718ce Mon Sep 17 00:00:00 2001 From: JJ Allaire Date: Wed, 17 Aug 2011 15:07:41 +0100 Subject: [PATCH] register for WatchRoot notification --- src/cpp/core/system/file_monitor/MacFileMonitor.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/cpp/core/system/file_monitor/MacFileMonitor.cpp b/src/cpp/core/system/file_monitor/MacFileMonitor.cpp index e1b3a1d6cf4..7e696f18faa 100644 --- a/src/cpp/core/system/file_monitor/MacFileMonitor.cpp +++ b/src/cpp/core/system/file_monitor/MacFileMonitor.cpp @@ -406,6 +406,13 @@ void fileEventCallback(ConstFSEventStreamRef streamRef, char **paths = (char**)eventPaths; for (std::size_t i=0; istreamRef == NULL) { callbacks.onRegistrationError(systemError(