touched-0.2.0.0: Library (and cli) to execute a procedure on file change.

Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Touched

Synopsis

Documentation

onChangeAny :: Bool -> [FilePath] -> Procedure a b -> IO () Source

Launches a procedure if any specified file has changed

onChangeAll :: Bool -> [FilePath] -> Procedure a b -> IO () Source

Launches a procedure if every specified file has changed

onChangeFile :: Bool -> FilePath -> Procedure a b -> IO () Source

Takes a single file and launches a procedure when it changes