Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.321 kb
require 'guard/guard'
guard 'livereload', :apply_js_live => false, :grace_period => 0 do
ext = %w[js coffee css scss sass png gif html erb]
watch(%r{.+\.(#{ext.join('|')})$}) do |match|
file = match[0]
file = File.join(File.dirname(file), 'application.css') if file =~ /\.(s[ca]ss|css)$/
file
end
end
Jump to Line
Something went wrong with that request. Please try again.