Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 12 lines (9 sloc) 0.321 kB
8b7cd18 @mislav livereload powered by Guard
authored
1 require 'guard/guard'
2
3 guard 'livereload', :apply_js_live => false, :grace_period => 0 do
4 ext = %w[js coffee css scss sass png gif html erb]
5
6 watch(%r{.+\.(#{ext.join('|')})$}) do |match|
7 file = match[0]
8 file = File.join(File.dirname(file), 'application.css') if file =~ /\.(s[ca]ss|css)$/
9 file
10 end
11 end
Something went wrong with that request. Please try again.