Gulps gulp.watch not triggered for new or deleted files?

前端 未结 7 997

The following Gulpjs task works fine when editing files in the glob match:

// watch task.
gulp.task(\'watch\', [\'build\'], function () {
    gulp.watch(src          


        
7条回答
  •  再見小時候
    2020-11-27 11:42

    It is important to note that it looks like gulp.watch only reports changed and deleted files on Windows but listens for new and deleted files by default on OSX:

    https://github.com/gulpjs/gulp/issues/675

提交回复
热议问题