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

Safe HaskellSafe
LanguageHaskell2010

System.Touched

Synopsis

Documentation

onChange :: IntoProc a => FilePath -> a -> IO () Source

When a file changes, launch a prodecure

onChangeAny :: IntoProc a => [FilePath] -> a -> IO () Source

Same as onChange, but works if any files in a list have changed