Skip to content

Instantly share code, notes, and snippets.

@xdite
Created September 16, 2011 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xdite/1221542 to your computer and use it in GitHub Desktop.
Save xdite/1221542 to your computer and use it in GitHub Desktop.
# More info at https://github.com/guard/guard#readme
guard 'livereload' do
watch(%r{source/.+\.(erb|haml|md)})
watch(%r{source/helpers/.+\.rb})
watch(%r{(public/|source/assets).+\.(css|js|html)})
watch(%r{(source/.+\.css)\.s[ac]ss}) { |m| m[1] }
watch(%r{(source/.+\.js)\.coffee}) { |m| m[1] }
watch(%r{config/locales/.+\.yml})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment