Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assetic and SASS: Imported SASS files are not updated #5713

Closed
k0pernikus opened this issue Oct 9, 2012 · 2 comments
Closed

Assetic and SASS: Imported SASS files are not updated #5713

k0pernikus opened this issue Oct 9, 2012 · 2 comments

Comments

@k0pernikus
Copy link
Contributor

I have included one main.sass file in my layout:

{#Layout Twig#}
{% stylesheets '@MyBundle/Resources/assets/css/main.sass' filter='compass' %}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}

This main.sass itself imports other sass files:

// main.sass
@import topic.sass
@import yetAnotherTopic.sass

Changes to the main.sass lead to an invalidation of the cache and are updated instantly, yet changes to the the imported sass files do not.

I have to manually clear the cache for changes to be seen.

I know I could handle this by importing all the sass files via the twig templates, but I find this rather tedious as compared to the direct sass approach.

@fabpot
Copy link
Member

fabpot commented Oct 9, 2012

You should ask support on the mailing-list and report bugs on the assetic/assetic bundle repositories. Thanks.

@fabpot fabpot closed this as completed Oct 9, 2012
@stof
Copy link
Member

stof commented Oct 9, 2012

This is a known issue in Assetic: kriswallsmith/assetic#79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants