Closed morgoth closed 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
additional_load_paths
@dudleyf I improved code, based on your suggestion.
@dudleyf @wycats Is there anything more I can do to improve my pull request?
Sorry it took so long, thanks :)
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
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