Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 791 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 791 Bytes

filewatch

A cli utility to watch files or directories and run a command on any changes.

filewatch

Usage:
    filewatch <path>... -- <command>...

Options:
    -h --help       Show this message
    -v --version    Print current version

Usage Examples

# Watch python file in current directory and rerun on changes.
$ filewatch main.py -- python main.py
# Watch folder and announce change over speakers (macOS)
$ filewatch /path/to/some/folder -- say "folder changed"
# Watch multiple folders / files and announce change over speakers (macOS)
$ filewatch /path/to/some/folder main.py some/other/path -- echo "changed"

Development Notes

Release with:

# where x.y.z is the new release version
$ pipenv run release x.y.z