reflex

Watch a directory and rerun a command when certain files change. More information: https://github.com/cespare/reflex.

reflex make

reflex --regex='\.go$' go run .

reflex --inverse-regex='^dir/' command

reflex --start-service=true command

reflex -- echo {}