Skip to content

Instantly share code, notes, and snippets.

@oriolgual
Created March 16, 2011 14:15
Show Gist options
  • Save oriolgual/872557 to your computer and use it in GitHub Desktop.
Save oriolgual/872557 to your computer and use it in GitHub Desktop.
group 'frontend' do
guard 'compass' do
watch(%r{src/(.*)\.s[ac]ss})
watch(%r{app/stylesheets/(.*)\.s[ac]ss})
end
guard 'jammit' do
watch(%r{public/javascripts/(.*)\\\\.js})
watch(%r{public/stylesheets/(.*)\\\\.css})
end
guard 'livereload' do
watch(%r{app/.+\.(erb|haml)})
watch(%r{app/helpers/.+\.rb})
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.ym})
end
guard 'passenger', ping: 'foo' do
watch(%r{lib/.*\.rb})
watch(%r{config/.*\.rb})
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment