reflex-fsnotify-0.2.1.2: Reflex FRP interface for watching files

Safe HaskellNone
LanguageHaskell2010

Reflex.FSNotify

Description

 
Synopsis

Documentation

watchDirectory :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> m (Event t Event) Source #

Deprecated: Use `watchDir cfg path (const True)` instead

Watch a directory for changes

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) Source #

watchDirectoryTree :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> ActionPredicate -> m (Event t FSEvent) Source #

Like watchTree except that it tries to avoid symlink loops and calls watchDir on each directory found