Detect file changes with entr

How have I never heard of entr? This amazing CLI makes it possible to run my custom build scripts on file change, just like many of my favorite tools. Thanks for sharing Julia!

I organize various commands with a Makefile that executes Bash scripts. Some tasks, like running a test suite, should be run every time I make a change. If you have a similar configuration as I do, you can simply run the following in your terminal and it’ll execute your test suite on every change! It’s important to note that new files will not be captured without restarting this command since it pipes a full list of existing files from the moment you started it.

find ./src | entr make test