From 999ac5225678697c1a032f8028980d3788e88d84 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 8 Mar 2013 19:22:17 -0500 Subject: [PATCH] print port when multiplex server starts (#98) --- plugin/multiplex/index.js | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.26.2