core-program-0.7.0.0: Opinionated Haskell Interoperability
Safe HaskellSafe-Inferred
LanguageHaskell2010

Core.Program.Notify

Description

Helpers for watching files for changes and taking action in the event of a change.

Synopsis

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.