wycats / rake-pipeline-web-filters

MIT License
116 stars 36 forks source link

Added files within additional load paths sass filter to output file dependencies #21

Closed morgoth closed 12 years ago

morgoth commented 12 years ago

Hi.

I had problem with refreshing generated style file, when my main sass file was importing partials.

Sample directory and Assetfile:

app/stylesheets/application.sass app/stylesheets/partials/_reset.sass app/stylesheets/partials/_layout.sass

match "stylesheets/application.sass" do
  sass additional_load_paths: "app/stylesheets/partials/"
  copy "stylesheets/application.css"
end

Changes made in files within partials, weren't always refreshed in generated application.css file.

This pull request fixes it by adding files from additional_load_paths to output file dependencies

morgoth commented 12 years ago

@dudleyf I improved code, based on your suggestion.

morgoth commented 12 years ago

@dudleyf @wycats Is there anything more I can do to improve my pull request?

dudleyf commented 12 years ago

Sorry it took so long, thanks :)