How do I tell gulp to ignore all files beginning with a "_", es. _colors.styl
from compiling?
Thanks
How do I tell gulp to ignore all files beginning with a "_", es. _colors.styl
from compiling?
Thanks
Use an exclamation point.
You can do gulp.src(['src/*.styl', '!src/_*.styl']);
or gulp.src(['src/*', '!src/_*']);
Answered here: Excluding files/directories from Gulp task