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