Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Reflex/FSNotify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ watchDirectory cfg path =
performEventAsync $ ffor path $ \p cb -> liftIO $ void $ forkIO $
FS.withManagerConf cfg $ \mgr -> do
_ <- FS.watchTree mgr p (const True) cb
forever $ threadDelay 1000000
forever $ threadDelay maxBound