adds watch directory to output
Closed this issue · 3 comments
glortho commented
Guardfile:
guard 'compass', :configuration_file => 'sass/config.rb' do |config|
watch '^sass/(.*)\.s[ac]ss'
end
sass/config.rb:
css_dir = "../css"
Run guard
and guard-compass tries to compile screen.scss to:
../css/sass/screen.css
compass compile/watch does not do this, and compiles it predictably to:
../css/screen.css
Shouldn't it be honoring the config directive?
LimeBlast commented
I'm very new to Guard (having only just started using it today) and am using the following code (which is mostly the same as yours, just without the |config|
) and it works just fine:
guard 'compass', :configuration_file => 'config.rb' do
watch(%r{.+\.scss$})
end
rymai commented
Hi,
Given your setup, I think css_dir
should be simply set to "css"
.
rymai commented
Closing this due to lack of activity, feel free to re-open if you have new infos.