-
Notifications
You must be signed in to change notification settings - Fork 60
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
sass-graph should prefer cwd over loadPaths for @imports #12
Comments
Sorry I haven't been receiving GH emails. Makes sense! I'll take a look shortly. Thanks! |
+1 for this |
+1 |
+1. Could not use node-sass watcher because of this, it's always compiling wrong partials. |
My apologies for the silence here. This issue is top priority and will be resolved shortly for the node-sass@3.0.0 release. sass/node-sass#905 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran into an issue running sass-graph on a larger project. There are two modules within this project that contain a "_base.scss". All scss files in module 1 that imported _base worked correctly, but when it was time to compile scss files in module 2, their @import statements were resolving the _base.scss from module 1 instead of the one in the CWD.
By default, I believe Sass will look for imports in the CWD and then look in any include paths from there
I'm opening up a PR that I think will fix the issue, curious to hear your feedback.
The text was updated successfully, but these errors were encountered: