-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Reflex FRP interface for watching files -- -- Watch files and directories for changes using a functional-reactive -- interface! -- -- https://reflex-frp.org/ @package reflex-fsnotify @version 0.3.0.0 module Reflex.FSNotify -- | Watch a directory for changes -- | Deprecated: Use `watchDir cfg path (const True)` instead watchDirectory :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> m (Event t Event) watchDir :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> ActionPredicate -> m (Event t FSEvent) watchDirs :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t [FilePath] -> ActionPredicate -> m (Event t FSEvent) watchTree :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> ActionPredicate -> m (Event t FSEvent) wrapWatch :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => (WatchManager -> pathinfo -> Action -> IO a) -> WatchConfig -> Event t pathinfo -> m (Event t FSEvent) listDirectories :: FilePath -> IO (Set FilePath) -- | Like watchTree except that it tries to avoid symlink loops and -- calls watchDir on each directory found watchDirectoryTree :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> ActionPredicate -> m (Event t FSEvent) type FSEvent = Event