Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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)
- watchDirectoryTree :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> ActionPredicate -> m (Event t FSEvent)
- type FSEvent = Event
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
watchDir :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> ActionPredicate -> m (Event t FSEvent) Source #
watchDirs :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t [FilePath] -> ActionPredicate -> m (Event t FSEvent) Source #
watchTree :: (Reflex t, TriggerEvent t m, PerformEvent t m, MonadIO (Performable m)) => WatchConfig -> Event t FilePath -> ActionPredicate -> m (Event t FSEvent) Source #
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 #