inverted logic
This commit is contained in:
parent
57cf65eb6d
commit
627504744c
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ handleAdds st changechan cs
|
|||
toadd' <- safeToAdd st toadd
|
||||
unless (null toadd') $ do
|
||||
added <- filter id <$> forM toadd' add
|
||||
when (DirWatcher.eventsCoalesce && not (null added)) $
|
||||
unless (DirWatcher.eventsCoalesce || null added) $
|
||||
handleAdds st changechan
|
||||
=<< getChanges changechan
|
||||
where
|
||||
|
|
Loading…
Add table
Reference in a new issue