Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Compass using @import #39

Closed
lunetics opened this Issue · 5 comments

6 participants

@lunetics

If i got 2 compass scss file e.g.

_base.scss
@import "compass";
@import "compass/utilities";
@import "compass/css3/border-radius";
$font-color: #FEFEFE;
$back-color: #CCC;

and include that base scss file in:

mainlayout.scss
@import "base"
body {...
}

the mainlayout.scss file is called in twig with the compass output filter. as soon as i change something in _base.scss, no changes will be seen cause the cache doesn't get refreshed.

So i need to manually re-save the mainlayout.scss file to actually regenerate the cache.

Is it possible to also check the "@import" files, it's quite annoying :)

cheers

@schniper

I'll try to implement this soon. It is annoying ;)

@Seldaek

Yeah that is something that needs to be supported for many different "plugins", things like RequireJS and all the CSS preprocessors would benefit from having such a concept of included-resources introduced in Assetic.

@phiamo

same for less files, is anyone on this ?

@oscherler

@phiamo No, apparently, nobody is on this.

@stof
Collaborator

Closing as duplicate of kriswallsmith/assetic#79

@stof stof closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.