Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple file/directory watcher for Linux and OS X and other BSDs
Haskell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
fswatcher.cabal
fswatcher.hs

README.md

                 ___               _       _
                |  _|___ _ _ _ ___| |_ ___| |_ ___ ___
                |  _|_ -| | | | .'|  _|  _|   | -_|  _|
                |_| |___|_____|__,|_| |___|_|_|___|_|

Build Status

fswatcher monitors a file or a directory for changes and runs a given command when the file is modified. If monitoring a directory, it runs the specified command a file within the given directory is modified.

This is a really thin layer on top of the fsnotify library. It works on Linux, OS X and other BSDs, and Windows (untested).

Usage:

watcher <file/directory to watch> <command to run> [arguments to command]
Something went wrong with that request. Please try again.