add missing modifyHook for watcher

Needed for FSEvents, which calls that hook for modified files.
inotify seems to call the add hook, so I didn't notice it before.
This commit is contained in:
Joey Hess 2012-12-28 16:00:45 -04:00
parent 2fdefc656b
commit bf3270c5b7

View file

@ -69,6 +69,7 @@ watchThread = NamedThread "Watcher" $ do
errhook <- hook onErr
let hooks = mkWatchHooks
{ addHook = addhook
, modifyHook = addhook
, delHook = delhook
, addSymlinkHook = addsymlinkhook
, delDirHook = deldirhook