Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Guard::Sass automatically rebuilds sass files when modified (like sass --watch)
branch: master

This branch is 2 commits ahead, 156 commits behind guard:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/guard
spec
.gitignore
Gemfile
Gemfile.lock
Guardfile
LICENSE
Rakefile
Readme.md
guard-sass.gemspec

Readme.md

Guard-Sass

Install

You will need to have guard to contine, so install it now!.

Install the gem with:

gem install guard-sass

Add it to your Gemfile:

gem 'guard-sass'

And finally add a basic setup to your Guardfile with:

guard init sass

Usage

A guard extension that allows you to easily rebuild .sass (or .scss) files when changed.

guard 'sass' do
  watch('^sass/(.*)')
end

Defaults to writing to 'css/' but this can be changed....

guard 'sass', :output => 'styles' do
  watch('^sass/(.*)')
end
Something went wrong with that request. Please try again.