Skip to main content

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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page