From c0a2e94cdbf3b93412be40bbc499b3f76f4da890 Mon Sep 17 00:00:00 2001 From: Shane Osbourne Date: Mon, 1 Sep 2014 21:25:57 +0100 Subject: [PATCH] Simplify server configuration - remove 'baseDir' --- gulpfile.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 4233de4bd..03d466330 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -149,9 +149,7 @@ gulp.task('serve', ['styles'], function () { // Note: this uses an unsigned certificate which on first access // will present a certificate warning in the browser. // https: true, - server: { - baseDir: ['.tmp', 'app'] - } + server: ['.tmp', 'app'] }); gulp.watch(['app/**/*.html'], reload); @@ -168,10 +166,7 @@ gulp.task('serve:dist', ['default'], function () { // Note: this uses an unsigned certificate which on first access // will present a certificate warning in the browser. // https: true, - server: { - baseDir: 'dist' - } - + server: 'dist' }); });