print port when multiplex server starts (#98)
This commit is contained in:
parent
cc869cb629
commit
999ac52256
1 changed files with 6 additions and 0 deletions
|
@ -46,3 +46,9 @@ var createHash = function(secret) {
|
|||
|
||||
// Actually listen
|
||||
app.listen(opts.port || null);
|
||||
|
||||
var brown = '\033[33m',
|
||||
green = '\033[32m',
|
||||
reset = '\033[0m';
|
||||
|
||||
console.log( brown + "reveal.js:" + reset + " Multiplex running on port " + green + opts.port + reset );
|
Loading…
Reference in a new issue