Skip to content

Commit

Permalink
Merged tasks into gulp task
Browse files Browse the repository at this point in the history
  • Loading branch information
connorwyatt committed May 20, 2015
1 parent fb8830f commit d2a2aad
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Gulpfile.js
Expand Up @@ -11,19 +11,15 @@ var gulp = require('gulp'),

gulp.task('build', ['sass', 'uglify', 'svg']);

gulp.task('serve', function() {
gulp.task('serve', ['sass', 'uglify', 'svg'], function() {

browserSync.init(['**/*.html', '**/*.css', '**/*.js'], {
server: "."
});

});

gulp.task('watch', ['sass', 'uglify', 'svg', 'watch-files']);

gulp.task('watch-files', function() {
gulp.watch('scss/**/*.scss', ['sass']);
gulp.watch('js/**/*.js', ['uglify']);
gulp.watch('js/rrssb.js', ['uglify']);

});

gulp.task('sass', function() {
Expand Down

0 comments on commit d2a2aad

Please sign in to comment.