projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc869cb
)
print port when multiplex server starts (#98)
author
Hakim El Hattab
<hakim.elhattab@gmail.com>
Sat, 9 Mar 2013 00:22:17 +0000
(19:22 -0500)
committer
Hakim El Hattab
<hakim.elhattab@gmail.com>
Sat, 9 Mar 2013 00:22:17 +0000
(19:22 -0500)
plugin/multiplex/index.js
patch
|
blob
|
history
diff --git
a/plugin/multiplex/index.js
b/plugin/multiplex/index.js
index bf22cb115f926f6aab3443c4c374ec633c85487e..0b03fc7c6b62b6f1a78cb19195c22f3932f7f6af 100644
(file)
--- 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