Permalink
Browse files

honor port when passed to `volo serve`

  • Loading branch information...
1 parent a587b8a commit a54e0ad3969654f976fdd0baa345dc591f386af4 @jlongster jlongster committed Jan 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 volofile
View
@@ -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 }),

0 comments on commit a54e0ad

Please sign in to comment.