core-program-0.2.5.0: Opinionated Haskell Interoperability

Safe HaskellNone
LanguageHaskell2010

Core.Program.Notify

Contents

Description

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

Synopsis

Notify

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.