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

前端 未结 7 919

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

    0 讨论(0)
提交回复
热议问题