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.1.0.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file watch-fs-1.1.0.tar.gz
.
File metadata
- Download URL: watch-fs-1.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 177137f5e9e9a01eb6ca13714787367bbebc9ec05dcc70b7057716aa87fe443d |
|
MD5 | 4d850862951f4e01a9ba46c83b0b0dcd |
|
BLAKE2b-256 | 717137b4590d7733ae0ddec263bf35d04267967f987c9d8ce56004538f6743b3 |
File details
Details for the file watch_fs-1.1.0-py2-none-any.whl
.
File metadata
- Download URL: watch_fs-1.1.0-py2-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766fb9f4490549486c3f843ba1bde02b9c4aa7438d1cb4af26989e0969f8ede6 |
|
MD5 | f358c9ced3136062e019b6379cb77fac |
|
BLAKE2b-256 | b8ace7ca250fd66552bf9ad80e4e351356336fb7b731a6cc771b12a3b25b792f |