always build before watching

This commit is contained in:
Tim Lancina
2015-08-10 10:21:42 -05:00
parent 289929ead3
commit ad96dda2a0

View File

@ -76,6 +76,7 @@ gulp.task('clean.build', function(done) {
gulp.task('watch', function(done) {
runSequence(
'build',
'serve',
function() {
watch([
@ -102,10 +103,6 @@ gulp.task('watch', function(done) {
);
});
gulp.task('build.watch', function(done){
runSequence('build', 'watch');
})
gulp.task('serve', function() {
connect.server({
root: 'dist',