summaryrefslogtreecommitdiff
path: root/Utility/DirWatcher/FSEvents.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Utility/DirWatcher/FSEvents.hs')
-rw-r--r--Utility/DirWatcher/FSEvents.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utility/DirWatcher/FSEvents.hs b/Utility/DirWatcher/FSEvents.hs
index 93d4a24ae..e16de7b94 100644
--- a/Utility/DirWatcher/FSEvents.hs
+++ b/Utility/DirWatcher/FSEvents.hs
@@ -19,9 +19,9 @@ watchDir dir ignored scanevents hooks = do
unlessM fileLevelEventsSupported $
error "Need at least OSX 10.7.0 for file-level FSEvents"
scan dir
- eventStreamCreate [dir] 1.0 True True True go
+ eventStreamCreate [dir] 1.0 True True True dispatch
where
- go evt
+ dispatch evt
| ignoredPath ignored (eventPath evt) = noop
| otherwise = do
{- More than one flag may be set, if events occurred