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.0.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file watch-fs-1.0.0.tar.gz
.
File metadata
- Download URL: watch-fs-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a62f4a6fd5858942d8efb780ff11aefb3dac952b8167f130415272a8a66c58f3 |
|
MD5 | 6ae72343c068da65f0a06d4190b7ac58 |
|
BLAKE2b-256 | ea97a5df6183ca74f9fdcaac143a6a3bc0ccb3add9e9ccdd2b9705fd2186f486 |
File details
Details for the file watch_fs-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: watch_fs-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 832d42e55af62b1f232b86d42e9a4fe084f321bdad2a7760640f08dbe053d4fe |
|
MD5 | 5e933a9204969dc924d22fd276673aad |
|
BLAKE2b-256 | e3b1418539625051be8732e3bdfec4c323005748800dd0c258d395abec199b22 |