Skip to content

Commit

Permalink
Set default port
Browse files Browse the repository at this point in the history
This closes #2
  • Loading branch information
leo committed May 2, 2016
1 parent 6179114 commit f79b41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/list
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (argv.v || argv.version) {
process.exit(0)
}

const port = argv.port || argv.p
let port = argv.port || argv.p || 3000
const directory = argv._.pop()

process.env.ASSET_DIR = '/' + Math.random().toString(36).substr(2, 10)
Expand Down

0 comments on commit f79b41d

Please sign in to comment.