The latest version of twitch is 0.1.7.2-0.

twitch

Version 0.1.2.2 revision 0 uploaded by JonathanFischoff.

Package meta

Synopsis
A high level file watcher DSL
Description

Twitch is a monadic DSL and library for file watching. It conveniently utilizes do notation in the style of Shake and clay to expose the functionality of the fsnotify cross-platform file system watcher.

Here is an example that converts Markdown files to HTML and reloads Safari whenever the input files change.

import Twitch
import Filesystem.Path.CurrentOS

main = defaultMain $ do
"*.md"   |> \filePath -> system $ "pandoc -t html " ++ encodeString filePath
"*.html" |> \_ -> system $ "osascript refreshSafari.AppleScript"
Author
Jonathan Fischoff
Bug reports
n/a
Category
System
Copyright
n/a
Homepage
https://github.com/jfischoff/twitch
Maintainer
jonathangfischoff@gmail.com
Package URL
n/a
Stability
n/a

Components