var reload = browserSync.reload;
var runSequence = require('run-sequence');
gulp.task('pug', function () {
return gulp.src('source/*.pug')
.pipe(pug({pretty: true}))
.pipe(gulp.dest(''))
});
gulp.task('watch', function(){
$.watch('source/**/*.pug ', function(event, cb) {
return runSequence('pug', reload);
});
}