Skip to content

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

Notifications You must be signed in to change notification settings

jamesstidard/filewatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages