Skip to main content

A command line tool to run commands when files change

Project description

http://img.shields.io/pypi/v/watch-fs.svg?style=flat-square http://img.shields.io/pypi/l/watch-fs.svg?style=flat-square

watch-fs is a command line tool to run commands when files change.

Usage

watch-fs will watch any number of directories and files, and run a command when any of them are changed. By default, watch-fs will watch the current directory.

Usage: watch-fs [OPTIONS] COMMAND

Options:
  -d, --directory DIRECTORY  A directory to watch for file changes - can be
                             used multiple times, and defaults to the current
                             directory.
  -c, --clear                Clear the terminal before running the command
  -w, --wait FLOAT           A minium wait before running the command again,
                             in seconds
  -v, --verbose              -v prints commands before running, and -vv shows
                             debug information

Installation

I recommend you use pipsi to install watch-fs as a script:

pipsi install watch-fs

Alternatively, you can install it as a global python module with:

pip install watch-fs

Licence

watch-fs is licensed under the MIT Licence.

Author

watch-fs was written by Sam Clements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

watch-fs-1.2.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

watch_fs-1.2.2-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file watch-fs-1.2.2.tar.gz.

File metadata

  • Download URL: watch-fs-1.2.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for watch-fs-1.2.2.tar.gz
Algorithm Hash digest
SHA256 de75aee49d139f64ac7b089e9ca5520c8a84a26ebf3654ef54d9139828c41b1b
MD5 bb95dea0706eee1b27152cbe96286ccd
BLAKE2b-256 19f2270a29c9511ac615d25c146d079f5ddcba466159b9a53fcd1bfd10b1076e

See more details on using hashes here.

File details

Details for the file watch_fs-1.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for watch_fs-1.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f458639f160cec1e64489c778c17805e3f6d829abb46be4b71a9fcd08bade64c
MD5 bd4e36d541f8e88318136861f3b10a1a
BLAKE2b-256 1c1ef8eff38bb38e6bff8d8a71268dfcb6556324803b9a1ca609f7ed1f51eb9e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page