Skip to content

Commit

Permalink
Merge pull request #419 from shakyShane/master
Browse files Browse the repository at this point in the history
Simplify server configuration - remove 'baseDir'
  • Loading branch information
sindresorhus committed Sep 2, 2014
2 parents 093624f + c0a2e94 commit 1addf78
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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'
});
});

Expand Down

0 comments on commit 1addf78

Please sign in to comment.