Browse Source

print port when multiplex server starts (#98)

Hakim El Hattab 11 years ago
parent
commit
999ac52256
1 changed files with 6 additions and 0 deletions
  1. 6 0
      plugin/multiplex/index.js

+ 6 - 0
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 );