Skip to content
Watch files for changes and execute a command
Python Makefile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
watchfiles
.gitignore
CHANGELOG.md
Makefile
README.md
setup.py
watchfiles-runner.py

README.md

Watchfiles

Warning: This package is very experimental, no backwards compatibility is guaranteed.

Yet another file watching library, uses polling to work independant of file system events. Right now the alpha version supports polling on a number of files and executes a command when it detects a chage in the file's timestamp

Install

$ pip install watchfiles

Example

Watch a directory for file changes

$ wf dir/ 'echo hi'
$ wf file1.txt file2.txt 'echo hi'
You can’t perform that action at this time.