0

This might be a beginner question, but I want to understand what does the ** mean in the following context:

    gulp.task('images', () => {
  return gulp.src('app/images/**/*')
    .pipe($.cache($.imagemin()))
    .pipe(gulp.dest('dist/images'));
});

Does it mean grab anything that's inside the images folder? why does it use ** instead of a single *? is there a difference in meaning?

York Wang
  • 1,909
  • 5
  • 15
  • 27
  • 4
    I'm not certain in the context of gulp, but generally `**` means any number of folders down, where as `*` is a single folder. – DBS Nov 01 '16 at 00:19
  • Hey, thanks for the reply! I think the concept should be the same. – York Wang Nov 01 '16 at 00:48

0 Answers0