Skip to content
This repository

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

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Guardfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Readme.md
Octocat-spinner-32 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.