sp00m / gulp-watch-sass

Watches for SASS files modifications, taking @import-ing SASS files into account.
MIT License
6 stars 2 forks source link

How i can set includePath? #6

Closed MrFranke closed 6 years ago

MrFranke commented 6 years ago

For compass and other libs

sp00m commented 6 years ago

What are you trying to solve? Any documentation about this option?

MrFranke commented 6 years ago

I have SASS project with compass and incudePath option. When watchSass rebuild scss files i got an error cant resolve path 'compass/..', but if I compile scss with gulp-sass task i haven't any errors.

sp00m commented 6 years ago

Thanks, this is not yet possible with gulp-watch-sass, but I'm happy adding this. I gonna start working on this when I find some free time, probably this weekend.

In the mean time, it would be great if you could provide your project structure (folders, files locations, etc.), plus your gulpfile.js, so that I can replicate your exact issue.

MrFranke commented 6 years ago

Sorry, it's NDA project, but I can reproduce this case in test repo in this weekends.

MrFranke commented 6 years ago

@sp00m hey! Sorry for long answer. I created test repo for problem: https://github.com/MrFranke/gulp-watch-sass-test

sp00m commented 6 years ago

Thanks for having taken the time to build this MVCE, working on it!

sp00m commented 6 years ago

Should be fixed now, check version 1.3.0. Thanks for the MVCE, definitely helped!

sp00m commented 6 years ago

Usage: https://github.com/sp00m/gulp-watch-sass/blob/master/README.md#optionsincludepaths