aboutsummaryrefslogtreecommitdiff
path: root/plugin/multiplex
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-03-08 19:22:17 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-03-08 19:22:17 -0500
commit999ac5225678697c1a032f8028980d3788e88d84 (patch)
treeefd6e45930813cf99a28f545fcec29735d1f2ab5 /plugin/multiplex
parentcc869cb6296c0fa6c13b3978d35cf5007765c7a3 (diff)
downloadperl-software-in-gnu-guix-999ac5225678697c1a032f8028980d3788e88d84.tar
perl-software-in-gnu-guix-999ac5225678697c1a032f8028980d3788e88d84.tar.gz
print port when multiplex server starts (#98)
Diffstat (limited to 'plugin/multiplex')
-rw-r--r--plugin/multiplex/index.js6
1 files changed, 6 insertions, 0 deletions
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