diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:22:17 -0500 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-03-08 19:22:17 -0500 |
commit | 999ac5225678697c1a032f8028980d3788e88d84 (patch) | |
tree | efd6e45930813cf99a28f545fcec29735d1f2ab5 /plugin/multiplex | |
parent | cc869cb6296c0fa6c13b3978d35cf5007765c7a3 (diff) | |
download | perl-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.js | 6 |
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 |