From 3dacc41880225908f942873d73cf6bfd5422828b Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sun, 23 Nov 2014 12:31:52 -0500 Subject: [PATCH] Adding a useful default task --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 7d29877..021328a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,11 +3,11 @@ var gulp = require('gulp'), connect = require('gulp-connect'), watch = require('gulp-watch'); -gulp.task('default', function() { - console.log('Default task'); +gulp.task('default', ['server'], function() { + gulp.watch('./src/**/*.html', ['markup']); }); -gulp.task('server', function() { +gulp.task('server', ['markup'], function() { watch('./build/**/*', { name: 'Server' }) .pipe(connect.reload()); return connect.server({