// CSS
gulp.task('less', function () {
return gulp.src([
'app/less/structure.less',
'!app/less/**/_*.less'
])
.pipe(sourcemaps.init())
.pipe(plumber(function (error) {
gutil.log(error.message);
this.emit('end');
}))
.pipe(lessGlob())
.pipe(less())
.pipe(autoprefixer(['last 15 versions', '> 1%', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1', 'ios 6', 'android 4']))
.pipe(plumber.stop())
.pipe(rename('main.css'))
.pipe(gulp.dest('app/css'))
.pipe(sourcemaps.write('.'))
.pipe(browserSync.reload({
stream: true
}));
});