-
Notifications
You must be signed in to change notification settings - Fork 105
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
Does it work at all? #43
Comments
I see you've got sass-rails installed. That's probably conflicting. See here: #6 (comment) |
@bolandrm no, I don't, check the diff |
Ah, ok. After you check out the other branch, did you |
I don't use spring and yeah, I did bundle :) |
interesting... perhaps you need to run Failing that, can you run
or if using sprockets 2
see if that prints anything out during assets precompile... |
Yeah, I tried that too y-day, and it's definitely using sassc-rails b/c compilation time is ~15-20% slower vs ruby sass.
|
I'm not sure what's going on then. Here are my results:
assets:precompile is noisy though, because it's compiling a bunch of stuff that isn't css. Could you try the benchmark that i have in the readme? (in rails console) |
When I try one file it's Here in 2nd pass I don't remove
|
Are you using sass I could be wrong, but I don't believe that ruby sass can cache imported files. Just because you could have set different variables before importing the file, which would affect the compilation of the file. On the other hand, sprockets |
Imports only. And my last comparison was not correct, b/c I have a lot of JS files (which are cached by sprockets) and some standalone sass files (specified in When I only keep those 2 big files in And the same flow on Will probably try to do some more benchmarks to figure out what exactly makes whole suit to take more time in my case. The issue can be closed, sorry for wasting your time :) |
No problem. Let me know if you find any interesting results. Thanks! |
The problem was in sprockets:
|
Hi,
I don't see any improvements. Am I doing something wrong?
rails 4.4.11
sprockets (3.3.5)
sprockets-rails (2.3.3)
The text was updated successfully, but these errors were encountered: