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.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for watch-fs-1.2.0.tar.gz
Algorithm Hash digest
SHA256 526fc20154824c30cce89d147e045724bf1953d6a4572cf882529d8e04b7fa65
MD5 9c965dc55c32afb9c1a1d6fc484a9742
BLAKE2b-256 fd25ca82f587147156989a84205e5c293a7f576109edc1dd0a050239f6bc1049

See more details on using hashes here.

File details

Details for the file watch_fs-1.2.0-py2-none-any.whl.

File metadata

File hashes

Hashes for watch_fs-1.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 01775ce5c529f1ffec4de9b25a143b5841679535d19518fd35d46dde346be004
MD5 6a1b711b409ffc95714c02c0da41f28d
BLAKE2b-256 efe533d4a68d59fa49e399b7ba5dac355762e3b18129c72f8ed25ae2aec08f82

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