Skip to content

Commit

Permalink
🚑 Redo the tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgruwez committed Mar 24, 2017
1 parent 6317f3d commit 3cd380a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ gulp.task('css:minify', function() {
.pipe(gulp.dest('dist'));
});

gulp.task('build', function () {
runSequence('sass:compile', 'css:minify');
});

gulp.task('watch', ['build'], function () {
gulp.watch('./src/**/*.scss', function () {
runSequence('sass:compile', 'css:minify');
});
});

gulp.task('build', function () {
runSequence('sass:compile', 'css:minify');
});

gulp.task('default', ['watch']);
gulp.task('default', ['build']);

0 comments on commit 3cd380a

Please sign in to comment.