diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-28 16:00:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-28 16:00:45 -0400 |
commit | 88ad6906a432244dfd774a19892d46bf9364581e (patch) | |
tree | 99fadb2bba8ad90cd8a8c106742e096afa3e372d /Assistant | |
parent | 5499d84e79f7a210161b6a7f9d4d5c0d40dd43b4 (diff) |
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.
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Threads/Watcher.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Assistant/Threads/Watcher.hs b/Assistant/Threads/Watcher.hs index 507362dd8..a69ab6a09 100644 --- a/Assistant/Threads/Watcher.hs +++ b/Assistant/Threads/Watcher.hs @@ -69,6 +69,7 @@ watchThread = NamedThread "Watcher" $ do errhook <- hook onErr let hooks = mkWatchHooks { addHook = addhook + , modifyHook = addhook , delHook = delhook , addSymlinkHook = addsymlinkhook , delDirHook = deldirhook |