entr

Run arbitrary commands when files change. Rebuild with make if…

entr

Run arbitrary commands when files change.

{{ag -l}} | entr {{make}}

{{ls *.c}} | entr {{'make && make test'}}

{{ls *.rb}} | entr -r {{ruby main.rb}}

{{ls *.sql}} | entr {{psql -f}} /_

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← enscript env →