watchr
watchr copied to clipboard
Load script from command line
Often I use just one configuration line in my script. It would be nice to also have the option to just specify that configuration on the command line without the need of an extra file.
Like: watchr 'watch( "test/test_.*\.rb" ) {|md| system("ruby #{md[0]}") }'