Skip to content

A simple file/directory watcher for Linux and OS X and other BSDs

License

Notifications You must be signed in to change notification settings

HaskellCNOrg/fswatcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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]

About

A simple file/directory watcher for Linux and OS X and other BSDs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%