Gulp.watch vs gulp.watch().on()

前端 未结 0 1345
执念已碎
执念已碎 2021-02-11 05:53

Is there any difference between gulp.watch(\'dir/.js\',fn); and gulp.watch(\'dir/.js).on(\'change\',fn);?

I found in many gulp task that people

相关标签:
回答
  • 消灭零回复
提交回复
热议问题