4
我跑以下的手表任务:不包括子目录
gulp.task('watch', function() {
gulp.watch('./ui/scss/*.scss', ['styles']);
gulp.watch('./js/*.js', '!./js/vendor/*.js', ['scripts']);
gulp.watch('./**/*.html', ['html']);
});
但似乎抛出下面的错误...
TypeError: Cannot assign to read only property 'mark' of !./js/vendor/*.js at new Gaze