# To setup notifications - github.com/guard/guard#notification notification :off interactor :off

group :coffeescript do

guard :coffeescript, :input => '_assets/coffeescript', :output => './js', :shallow => true

end

group :compass do

guard 'compass', :input => '_assets/sass', :output => './_includes/css', :configuration_file => 'Compassfile' do
  watch %r{^.+(\.s[ac]ss)}
end

end

group :haml do

guard :haml, :input => '_assets/pages', :output => './' do
  watch %r{^_assets/pages/.+(\.haml)}
end

# Support for either _assets/templates or _assets/layouts
guard :haml, :input => '_assets/templates', :output => './_layouts' do
  watch %r{^_assets/templates/.+(\.haml)}
end

guard :haml, :input => '_assets/layouts', :output => './_layouts' do
  watch %r{^_assets/layouts/.+(\.haml)}
end

# Support for either _assets/includes or _assets/partials
guard :haml, :input => '_assets/partials', :output => './_includes' do
  watch %r{^_assets/partials/.+(\.haml)}
end

guard :haml, :input => '_assets/includes', :output => './_includes' do
  watch %r{^_assets/includes/.+(\.haml)}
end

end