hawx / guard-sass

Guard::Sass automatically rebuilds sass files when modified (like sass --watch)
MIT License
88 stars 35 forks source link

Can't specify a file for input and output options #48

Closed bencooling closed 11 years ago

bencooling commented 11 years ago

Couldn't find a way to specify a file instead of a path?

With the ruby gem you can do: sass --watch style.scss:style.css

But with gaurd-sass the :input and :ouput options only accept a path?

hawx commented 11 years ago

You'll need to use the longer form, something like:

guard 'sass' do
  watch %r{file.scss}
end

So that it watches file.scss and outputs to the current directory.