-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
track deeper levels of import #3
Comments
I have the same problem, this plugin does not include third level of import and also it does'n work with watch, |
Well, depending on the depth, you try to archive, you could pipe the command multiple times in row. Looked like this in my code: Problem is, it becomes significantly slower with every pipe and depending on your file structure it will be faster to compile everything than to resolve the dependencies. |
Can we resolve dependencies once and keep them in cache and rebuild it when And btw I could not make this plugin work with watch.
|
Don't misunderstand me, there are several ways to fix this and for sure way more effective ways to handle this than my posted solution. It was just a quickfix hat should show that it's definitely doable. I want to take a deeper look in the code, but had unfortunately no time. As I'm no good backend developer, I'm not sure if I can find a solution very fast, but I'm sure an experienced developer should be able to handle this in 1 - 3 hours. |
before #7 will be merged and published you can use my fork where i fixed that issue. $ npm i git://github.com/safareli/gulp-sass-inheritance.git#patch-1 |
Awesome! Thank you so much for this - works like a charm! |
Welcome :3 |
Thx @safareli ! Just discovered this here, so the patch version is a lifesaver :). |
Has this patch been applied already to master? |
Does this https://www.npmjs.com/package/custom-gulp-sass-inheritance solve the issue? |
@claudiomedina @alex-shamshurin @webcultist @kevin-smets Sorry everyone! I was totally swamped with work and didn't pay attention to the GH notifications. Thanks a lot for the patch @safareli - I've incorporated your fixes among others in a fresh v1.1.0 release that has also been published on NPM. I make sure to be more active on PRs from now on. Thanks! |
I missed subscribing to this issue, so I'm just now upgrading from safareli's fork to v1.1.0. Works great. Thanks! |
hey @berstend,
Nice work!
Currently it can only get one level om @import. Can this be improved to catch deeper levels of @import.
For example
a.scss
b.scss
c.scss
if I change a.scss or b.scss it passes the filter and compiles a.scss. But if I make any change to c.scss it wont pass the filter block and wont compile a.scss.
did I make myself clear?
The text was updated successfully, but these errors were encountered: