Reflex for Quick Filewatching Commands

go install[email protected]

Then you can run a command like:

reflex -r 'nginx.conf' -- curl -v -L 2>&1 | grep -i "^< location:\|HTTP/1.1"

You should see triggered output from the command whenever the file is saved.

Nice work @cespare. Found this pretty useful to speed up testing cycles with some cli tools.

Follow: Caleb and twitter for more cool Go magic.


(No webmentions yet.)