From a59954ad7365e037c32443e5ef986040f737e992 Mon Sep 17 00:00:00 2001 From: Alexander Deider Date: Wed, 18 May 2016 01:48:34 +0600 Subject: [PATCH] fix(gen) gulpfile.js fixes Some fixes after testing https://github.com/yeoman/generator-angular/issues/1299 --- templates/common/root/_gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/common/root/_gulpfile.js b/templates/common/root/_gulpfile.js index 68b7d11b0..67b8a5660 100644 --- a/templates/common/root/_gulpfile.js +++ b/templates/common/root/_gulpfile.js @@ -152,7 +152,7 @@ gulp.task('serve', function (cb) { gulp.task('serve:prod', function() { $.connect.server({ root: [yeoman.dist], - livereload: true + livereload: true, port: argv.port || 80, middleware: serveStaticBower }); @@ -171,7 +171,7 @@ gulp.task('test', ['start:server:test'], function () { gulp.task('bower', function () { return gulp.src(paths.views.main) .pipe(wiredep({ - directory: /*yeoman.app + */'/bower_components', + directory: /*yeoman.app + */'./bower_components', ignorePath: '..' })) // .pipe(gulp.dest(yeoman.app + '/views'));