A command line tool to run commands when files change
Project description
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.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 526fc20154824c30cce89d147e045724bf1953d6a4572cf882529d8e04b7fa65 |
|
MD5 | 9c965dc55c32afb9c1a1d6fc484a9742 |
|
BLAKE2b-256 | fd25ca82f587147156989a84205e5c293a7f576109edc1dd0a050239f6bc1049 |
File details
Details for the file watch_fs-1.2.0-py2-none-any.whl
.
File metadata
- Download URL: watch_fs-1.2.0-py2-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01775ce5c529f1ffec4de9b25a143b5841679535d19518fd35d46dde346be004 |
|
MD5 | 6a1b711b409ffc95714c02c0da41f28d |
|
BLAKE2b-256 | efe533d4a68d59fa49e399b7ba5dac355762e3b18129c72f8ed25ae2aec08f82 |