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

Sassc/Scssc processors do not update imported files #330

Closed
dagi3d opened this issue Jun 26, 2016 · 2 comments
Closed

Sassc/Scssc processors do not update imported files #330

dagi3d opened this issue Jun 26, 2016 · 2 comments

Comments

@dagi3d
Copy link

dagi3d commented Jun 26, 2016

I was testing the new libsass integration and found the following issue:

Given the following stylesheets
application.scss

@import '_base';

_base.scss

body {
  background: lime;
}

asset_pipeline:

Sprockets::Helpers.configure do |config|
  require 'sprockets/sassc_processor'
  assets.register_transformer 'text/scss', 'text/css', Sprockets::ScsscProcessor.new

If I make any change in _base.scss using the Scssc processor, the styles are not updated. To make the application.scss be updated, I need to make a change on it so it is precompiled again with _base.scss as well.
If I just the default scss processor it works without any problem.

@schneems
Copy link
Member

I'm currently working on sassc support. There's some bugs. Right now i'm trying to get sassc-rails working with sprockets 4 sass/sassc-rails#65 after that i'm looking to get the SasscProcessor working and then hopefully get sass-rails to auto default to sassc when it's present and Sprockets 4 is being used. I don't have a timeline for those fixes but that's the gameplan.

@schneems
Copy link
Member

Dupe of #329

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

2 participants