Skip to content

Instantly share code, notes, and snippets.

@aokolish
Created November 30, 2011 15:47
Show Gist options
  • Save aokolish/1409549 to your computer and use it in GitHub Desktop.
Save aokolish/1409549 to your computer and use it in GitHub Desktop.
watch any file
watch(".*\..*") do |match|
puts `echo "hello"`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment