Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Helpers for watching files for changes and taking action in the event of a change.
Synopsis
- waitForChange :: [FilePath] -> Program τ ()
Documentation
waitForChange :: [FilePath] -> Program τ () Source #
Watch for changes to a given list of files.
Before continuing we insert a 100ms pause to allow whatever the editor was to finish its write and switcheroo sequence.