Преглед на файлове

Merge pull request #2125 from Bpaterak/less_errorfix

added a stream end to gulp-less to prevent less errors stopping watch
bubble
Tony Tam преди 8 години
родител
ревизия
0d1fda51eb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      gulpfile.js

+ 1
- 1
gulpfile.js Целия файл

@@ -91,7 +91,7 @@ function _less() {
'./src/main/less/style.less'
])
.pipe(less())
.on('error', log)
.on('error', function(err){ log(err); this.emit('end');})
.pipe(gulp.dest('./src/main/html/css/'))
.pipe(connect.reload());
}


Зареждане…
Отказ
Запис