Commit d716215b by 黄秀兰

gulp 进程控制

parent c356ed4a
Pipeline #952 skipped in 0 seconds
......@@ -36,6 +36,12 @@ var config = {
// 编译
gulp.task('less',function () {
return gulp.src(config.path.less)
.pipe(plugins.plumber({
errorHandler: function ( err ) {
console.log(err);
this.emit('end');
}
}))
.pipe(plugins.less())
.pipe(gulp.dest(config.dist.css))
.pipe(reload({stream:true}));
......
This source diff could not be displayed because it is too large. You can view the blob instead.
/**
* Created by Administrator on 2016/6/16.
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment