Browse Source

print port when multiplex server starts (#98)

embed
Hakim El Hattab 12 years ago
parent
commit
999ac52256
  1. 6
      plugin/multiplex/index.js

6
plugin/multiplex/index.js

@ -46,3 +46,9 @@ var createHash = function(secret) {
// Actually listen // Actually listen
app.listen(opts.port || null); 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 );
Loading…
Cancel
Save