Last active
August 29, 2015 14:04
-
-
Save andrewk/ed0ec1ab096cec79ca27 to your computer and use it in GitHub Desktop.
Sass include paths - bower vs npm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# watch assets for changes in development, using bower deps | |
watch: | |
sass -I assets/scss -I bower_components --watch assets/scss:public/css | |
# watch assets for changes in development, using npm deps | |
watch: | |
sass $(foreach d, $(shell find . -name 'node_modules' -type d), -I$d) -I assets/scss --watch assets/scss:public/css | |
# and what does that `find` call look like in reality? | |
# ~/Projects/99designs/contests find . -type d -name 'node_modules' | wc -l | |
# 259 | |
# | |
# with bower - 2 include paths. | |
# with npm - 260 include paths. | |
# and this is a PHP project! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment