watchr icon indicating copy to clipboard operation
watchr copied to clipboard

Load script from command line

Open medihack opened this issue 14 years ago • 0 comments

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]}") }'

medihack avatar Nov 23 '10 11:11 medihack