aboutsummaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 73acb57..74a406a 100644
--- a/Main.hs
+++ b/Main.hs
@@ -116,7 +116,7 @@ main = do
done <- newEmptyMVar -- TODO catch sigterm
-- start some watchers
for_ (optWatches o) $ \w@(Watch path _) ->
- watchTree fsmgr path (allEvents $ elem gitDir . splitPath) . const
+ watchTree fsmgr path (allEvents $ not . elem gitDir . splitPath) . const
$ writeChan chan (Change w)
-- start the event crunching thread
void . forkIO