var connect = require('gulp-connect'),
jade = require('gulp-jade');
gulp.task('templates', function () {
gulp.src('jade/pages/*.jade')
.pipe(jade({
locals: '',
pretty : true
}))
.pipe(gulp.dest('app'))
.pipe(connect.reload());
});