search

Home  >  Q&A  >  body text

node.js - gulp监听目录内无监听文件时,监听将失效的问题

黄舟黄舟2863 days ago597

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 13:43:17

    The watch event of Gulp4.0 is based on the chokidar module. This problem will be fixed after upgrading Gulp to 4.0.

    reply
    0
  • PHPz

    PHPz2017-04-17 13:43:17

    The problem is that the wildcard character you use is ./. If you use gulp.watch('Style/JS'), then there will be no problem.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:43:17

    Remove./

    reply
    0
  • Cancelreply