diff options
Diffstat (limited to 'Utility/DirWatcher/INotify.hs')
-rw-r--r-- | Utility/DirWatcher/INotify.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Utility/DirWatcher/INotify.hs b/Utility/DirWatcher/INotify.hs index 76f8ab890..4d11b95a8 100644 --- a/Utility/DirWatcher/INotify.hs +++ b/Utility/DirWatcher/INotify.hs @@ -102,8 +102,7 @@ watchDir i dir ignored scanevents hooks | Files.isSymbolicLink s -> when (hashook addSymlinkHook) $ runhook addSymlinkHook f ms - | Files.isRegularFile s -> do - print ("ADDED") + | Files.isRegularFile s -> when (hashook addHook) $ runhook addHook f ms _ -> noop |