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 hashes)
Built Distribution
Close
Hashes for watch_fs-1.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe0eef8b46104de09350becb226348f72852dda178b65f5e267e81255890607 |
|
MD5 | 2ade392a7cebc959a671ece8e6134f5a |
|
BLAKE2b-256 | 0bb8a2ddf5819d5bcb5e280de80a7511e94b93845c378b628c8c7777109eacaa |