
rego is a generic command re-runner that has been in use since 2012. it works around the fork-bomb and guard issues similar gems have. from the readme: INSTALL --------------- gem install rego DESCRIPTION --------------- run arbitrary commands easily when files change PARAMETERS --------------- --help, -h EXAMPLES --------------- ```bash # say hai whenever the file foo.txt changes # ~> rego foo.txt -- echo hai # say hai whenever any file (recursively) in bar changes # ~> rego ./bar/ -- echo hai # echo *the file that changed* when any file (recursively) in bar changes # ~> rego ./bar/ -- echo "@ was changed" # run a specific test whenever anything in lib, test, app, or config changes # ~> rego {lib,test,app,config} -- ruby -Itest ./test/units/foo_test.rb --name teh_test # run a specific test whenever it, or your app, has changed # ~> rego ./test -- ruby -Itest @ # run a server, killing it gracefully whenever files change # ~> rego --killer -- ./dev/server enjoy. https://github.com/ahoward/rego -- - a "be kind whenever possible. it is always possible." -- h.h. the 14th dalai lama -->> https://drawohara.io