Run commands when files change
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
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 in it’s own virtualenv and link it from ~/.local/bin:
pipsi install watch-fs
Alternatively, you can install system-wide using pip:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file watch-fs-1.5.0.tar.gz.
File metadata
- Download URL: watch-fs-1.5.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fae97caaa492cc5f1f4ec3377483023be6c35ba1ecda79672b53c37a85908dc7
|
|
| MD5 |
134d697e0911e6bcdf75150a4de7c379
|
|
| BLAKE2b-256 |
a93a154aae88e64c4cca6ab546a378a8eed21ee429720e4b2375bec8aec8531a
|
File details
Details for the file watch_fs-1.5.0-py2.py3-none-any.whl.
File metadata
- Download URL: watch_fs-1.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80b1908a586b35b3a9fc481d6c40470eca3ca9b9e402ce8ff04a5b11c1a5701e
|
|
| MD5 |
69ff33efa16f3172afaa59ff15343faa
|
|
| BLAKE2b-256 |
508f18fcffc7f95b3a82ad06f46b909a53e27c6fc313fa22d7085db853078017
|