OSX build fix

This commit is contained in:
Joey Hess 2025-02-17 14:01:54 -04:00
parent 66b8ba8fb0
commit 9f2ce19858
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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