til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Run arbitrary commands when files change using entr

entr is really cool, I have used entr for automatically building and testing Go programs, when coding these.

ls *.go | entr -c sh -c 'go build && go test'

Another example for perlcritic

ls t/*.rc |entr -c sh -c 'perlcritic --profile t/perlcritic.rc lib'

Resources and References