We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
require 'watchr' script = Watchr::Script.new script.watch('foo') { puts 'bar' } # this call doesn't block
The Script class’s tests use it that way: http://github.com/mynyml/watchr/blob/master/test/test_script.rb
You can also look at other projects that use watchr as a lib: