fixed all remaining build warnings on Windows
This commit is contained in:
parent
67828b1c86
commit
c9a3e80d32
13 changed files with 23 additions and 20 deletions
|
@ -17,10 +17,10 @@ watchDir :: FilePath -> (FilePath -> Bool) -> Bool -> WatchHooks -> IO WatchMana
|
|||
watchDir dir ignored scanevents hooks = do
|
||||
scan dir
|
||||
wm <- initWatchManager
|
||||
void $ watchDirectory wm dir True [Create, Delete, Modify, Move] handle
|
||||
void $ watchDirectory wm dir True [Create, Delete, Modify, Move] dispatch
|
||||
return wm
|
||||
where
|
||||
handle evt
|
||||
dispatch evt
|
||||
| ignoredPath ignored (filePath evt) = noop
|
||||
| otherwise = case evt of
|
||||
(Deleted _ _)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue