reflex
Watch a directory and rerun a command when certain files change. tldr-pages
On several platforms
Several platforms
Rebuild with make if any file changes
reflex makeIdentifyCompile and run Go application if any .go file changes
reflex --regex '\.go$' go run .IdentifyIgnore a directory when watching for changes
reflex --inverse-regex '^dir/' commandIdentifyRun command when reflex starts and restarts on file changes
reflex --start-service true commandIdentifySubstitute the filename that changed in
reflex -- echo {}Identify