title: Why don't newly added files trigger my gulp-watch task?
body: <p>I have a gulp task which uses gulp-imagemin to compress images. When I add new files to this directory I'd like for this task to compress them as well. I read that <a href="https://stackoverflow.com/questions/22391527/gulps-gulp-watch-not-triggered-for-new-or-deleted-files">gulp.watch doesn't trigger on new files</a> and that I should try gulp-watch so I used it like so;</p>
  
  <pre><code>gulp.task('images', function() {
    watch({glob: './source/images/*'}, function (files) {
      return files
        .pipe(plumber())
        .pipe(imagemin({
          progressive: true,
          interlaced: true
        }))
        .pipe(gulp.dest('./www'));
    });
  });
  </code></pre>
  
  <p>This works the same as gulp.watch on the first run, but when I add a new image to the directory nothing happens. If I overwrite an existing file however, it DOES run the task again, so it does behave differently.</p>
  
  <p>The documentation on gulp-watch called this "Batch Mode" and said I could also run the task on a per-file basis, so I tried this way too;</p>
  
  <pre><code>gulp.task('images', function() {
    gulp.src('./source/images/*')
      .pipe(watch())
      .pipe(plumber())
      .pipe(imagemin({
        progressive: true,
        interlaced: true
      }))
      .pipe(gulp.dest('./www'));
  });
  </code></pre>
  
  <p>But nothing changed. Why isn't adding files to my image directory triggering the task?</p>