... entr.

There are moments when you'd automatically want to run a script the moment that a file updates. Instead of running these things by hand we can use a nifty tool called entr to help us automate these things. The project page for this tool can be found here.


If you experience information overflow on the terminal when using entr then we might recommend running it with the -c flag like so;

ls checking/*.py | entr -c pytest test.py::test_starts_correctly

For more details on practical settings we recommend reading the project page.

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider getting the newsletter.