robrich / gulp-ignore

plugin for gulp to ignore files in the stream based on file characteristics
MIT License
121 stars 10 forks source link

Rename gulp-ignore to gulp-filter. #2

Closed 6aKa closed 10 years ago

floatdrop commented 10 years ago

gulp-filter already exist and I like it.

6aKa commented 10 years ago

May be gulp-filefilter or gulp-filemask

dashed commented 10 years ago

No need to rename.

The gulp-filter plugins seems to be able to do both gulp-if and gulp-ignore -- which is pretty neat.

robrich commented 10 years ago

gulp-if does child tasks (passed in) if the condition is true, and passes all files (condition true & false) to piped tasks. gulp-ignore (and gulp-filter) doesn't pipe if condition is false. Ideally this would be called gulp-filter, and since it's much more powerful than gulp-filter, I have a PR in the works to make gulp-filter into module.exports = require('gulp-ignore').