0

How do I tell gulp to ignore all files beginning with a "_", es. _colors.styl from compiling?

Thanks

Manaus
  • 431
  • 5
  • 17
  • possible duplicate of [Excluding files/directories from Gulp task](http://stackoverflow.com/questions/23384239/excluding-files-directories-from-gulp-task) – alebruck Jun 12 '15 at 14:50

1 Answers1

0

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

Community
  • 1
  • 1
Phill Treddenick
  • 1,340
  • 13
  • 18