Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

honor port when passed to `volo serve`

  • Loading branch information...
commit a54e0ad3969654f976fdd0baa345dc591f386af4 1 parent a587b8a
@jlongster jlongster authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 volofile
View
4 volofile
@@ -165,7 +165,7 @@ module.exports = {
.fail(d.reject);
},
- serve: function(d, v, namedArgs) {
+ serve: function(d, v, namedArgs, port) {
try {
var connect = require('connect');
}
@@ -178,7 +178,7 @@ module.exports = {
var lessMiddleware = require('less-middleware');
- var port = 8008;
+ var port = port || 8008;
var base = path.join(process.cwd(), namedArgs.base || 'www');
var middleware = [
lessMiddleware({ src: base }),
Please sign in to comment.
Something went wrong with that request. Please try again.