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:
parent
2fdefc656b
commit
bf3270c5b7
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ watchThread = NamedThread "Watcher" $ do
|
|||
errhook <- hook onErr
|
||||
let hooks = mkWatchHooks
|
||||
{ addHook = addhook
|
||||
, modifyHook = addhook
|
||||
, delHook = delhook
|
||||
, addSymlinkHook = addsymlinkhook
|
||||
, delDirHook = deldirhook
|
||||
|
|
Loading…
Add table
Reference in a new issue