Watch a directory for file changes and exit
Project description
I’m walking here
Using
A typical use of the this is to wait a second after a file has changed and then run make. Put that all in a loop.:
while true; do watchit && sleep 1 && make; done
Issues
It stops when doing a ctrl-c but doesn’t exit. The workaround right now is to use ctrl-z and then kill %1.
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
watchit-0.0.1.tar.gz
(5.0 kB
view details)
File details
Details for the file watchit-0.0.1.tar.gz
.
File metadata
- Download URL: watchit-0.0.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e45a7b42a04af2d8600dcad99cdb1e4800337c737195a9f8f1fbd186b3176750
|
|
MD5 |
9a1859ff0d61a5acdb3bf4f707ce59fd
|
|
BLAKE2b-256 |
51b84bb0980b7cb635ff4eb2b3f235ae10ee923e08535c56ccde9829332f6cea
|