-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Be notified when a file gets appended, solely with what was added.
--   
--   See module for docs
@package follow-file
@version 0.0.2

module System.File.Follow

-- | <a>follow</a> takes a file, and informs you <i>only</i> when it
--   changes. If it's deleted, | you're notified with an empty
--   <a>ByteString</a>. If it doesn't exist yet, you'll be informed | of
--   its entire contents upon it's creation, and will proceed to "follow
--   it" as normal.
follow :: (MonadIO m, MonadMask m, MonadBaseControl IO m) => INotify -> Path Abs File -> (Producer m ByteString -> m ()) -> m WatchDescriptor
