From f1844b6a149ff84cf0b536557b9ad23135e1d9b7 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 24 Aug 2014 17:41:17 -0500 Subject: [PATCH] Formatting fixes --- gulpfile.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index af653e3..adfffb8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -46,10 +46,10 @@ var destination = { vendor: 'assets/js/vendor' }; -gulp.task('less', function () { +gulp.task('less', function() { return gulp.src(paths.less) .pipe(sourcemaps.init()) - .pipe(less()).on('error', function(err){ + .pipe(less()).on('error', function(err) { console.warn(err.message); }) .pipe(autoprefix('last 2 versions', 'ie 8', 'ie 9', 'android 2.3', 'android 4', 'opera 12')) @@ -98,13 +98,11 @@ gulp.task('version', function() { gulp.task('watch', function() { livereload.listen(); - gulp.watch('assets/less/**/*.less', ['less']).on('change', livereload.changed); gulp.watch('assets/js/**/*.js', ['jshint', 'js']).on('change', livereload.changed); gulp.watch('**/*.php').on('change', function(file) { livereload.changed(file.path); }); - }); gulp.task('default', ['less', 'jshint', 'js', 'modernizr']);