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.2.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file watch-fs-1.2.1.tar.gz
.
File metadata
- Download URL: watch-fs-1.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b3ea13cceb07e42adb4e7674db602392331fcbda2eb38fa004399eb3c19606 |
|
MD5 | 2985355cc650f88886a50d8fd66ad2c6 |
|
BLAKE2b-256 | bf1f6f38e15bbee46b8beb03f2ad2b4b7c0cf0e20519234deeb3e46a39542237 |
File details
Details for the file watch_fs-1.2.1-py2-none-any.whl
.
File metadata
- Download URL: watch_fs-1.2.1-py2-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2595c3a123add6bd9ebb9aa58c7f60ea1525a5f10b41134eb29b8f95e2c023ba |
|
MD5 | 61bdf1dbc23c7f1b1249a4727c969ed2 |
|
BLAKE2b-256 | 44321c675ef34990595d4f1902887ea2a0f645f4cf478dbfb75de4ada3f2b6e1 |