]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
add option to specify server port at runtime 693/head
authorDavid Eglin <djeglin@gmail.com>
Tue, 31 Jan 2017 14:33:23 +0000 (14:33 +0000)
committerDavid Eglin <djeglin@gmail.com>
Tue, 31 Jan 2017 14:33:23 +0000 (14:33 +0000)
gulpfile.js

index d0624f6529fa1dceb800c988593da02ed8f5bed4..570079545ac1e4ad12509403e41256d59c225e6a 100644 (file)
@@ -111,7 +111,8 @@ gulp.task('lint', function() {
 // Creates a BrowserSync server
 gulp.task('server', ['build'], function() {
   browser.init({
-    server: './_build'
+    server: './_build',
+    port: yargs.argv.port || 3001
   });
 });