1 example for entr
# Rebuild project if sources change
ls *.c *.c | entr make
# Rebuild project and run tests if the build was successful
ls *.c *.h | entr sh -c 'make && make test'
# Rebuild project if sources change
ls *.c *.c | entr make
# Rebuild project and run tests if the build was successful
ls *.c *.h | entr sh -c 'make && make test'