From: Hakim El Hattab Date: Sat, 9 Mar 2013 00:22:17 +0000 (-0500) Subject: print port when multiplex server starts (#98) X-Git-Tag: 2.3.0~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=999ac5225678697c1a032f8028980d3788e88d84;p=reveal.js.git print port when multiplex server starts (#98) --- diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js index bf22cb1..0b03fc7 100644 --- a/plugin/multiplex/index.js +++ b/plugin/multiplex/index.js @@ -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 ); \ No newline at end of file