Skip to content

Instantly share code, notes, and snippets.

@kaievns
Created February 10, 2014 02:52
Show Gist options
  • Save kaievns/8909565 to your computer and use it in GitHub Desktop.
Save kaievns/8909565 to your computer and use it in GitHub Desktop.
guard 'livereload' do
watch(%r{app/views/.+\.(erb|haml|slim)$})
watch(%r{app/helpers/.+\.rb})
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.yml})
# Rails Assets Pipeline
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|coffee|less|html|png|jpg|hbs|emblem))).*}) { |m| "/assets/#{m[3]}" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment