1
0
Fork 0

print port when multiplex server starts (#98)

This commit is contained in:
Hakim El Hattab 2013-03-08 19:22:17 -05:00
parent cc869cb629
commit 999ac52256
1 changed files with 6 additions and 0 deletions

View File

@ -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 );