gulp-watch in combination with gulp-less caching issue

前端 未结 1 1353
灰色年华
灰色年华 2020-12-12 02:53

I have the following setup:

// watch for changes
gulp.task(\'watch\', function () {
  gulp.watch(\'./assets/**/*.less\', [\'compile-less\']);
});

gulp.task(         


        
相关标签:
1条回答
  • 2020-12-12 03:16

    gulp-less version 4.0.0 has a strange caching issue. Install gulp-less@3.5.0 and will solve the issue. This will be fixed. Check out https://github.com/stevelacy/gulp-less/issues/283#ref-issue-306992692

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