diff --git a/Utility/DirWatcher/FSEvents.hs b/Utility/DirWatcher/FSEvents.hs index 94451b109d..d4e20e9249 100644 --- a/Utility/DirWatcher/FSEvents.hs +++ b/Utility/DirWatcher/FSEvents.hs @@ -20,7 +20,7 @@ watchDir dir ignored scanevents hooks = do unlessM fileLevelEventsSupported $ giveup "Need at least OSX 10.7.0 for file-level FSEvents" scan dir - eventStreamCreate [dir] 1.0 True True True dispatch + eventStreamCreate [fromOsPath dir] 1.0 True True True dispatch where dispatch evt | ignoredPath ignored (toOsPath (eventPath evt)) = noop