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 in it’s own virtualenv and link it from ~/.local/bin:
pipsi install watch-fs
Alternatively, you can install system-wide using pip:
.. code-block:: bash
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.3.1.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file watch-fs-1.3.1.tar.gz
.
File metadata
- Download URL: watch-fs-1.3.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e130454f3a08b8f6d792d899fca09d712014c445c8c89a62378999d4abbeccd |
|
MD5 | 08037aff902b69352d96d9c7af601f1b |
|
BLAKE2b-256 | eeee62bbcbb86a530aea246c68e98867dd820ea8a8d66f1474fa68c299e915ed |
File details
Details for the file watch_fs-1.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: watch_fs-1.3.1-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 | afe0eef8b46104de09350becb226348f72852dda178b65f5e267e81255890607 |
|
MD5 | 2ade392a7cebc959a671ece8e6134f5a |
|
BLAKE2b-256 | 0bb8a2ddf5819d5bcb5e280de80a7511e94b93845c378b628c8c7777109eacaa |