[Functionality] Log app instance to the console

Added logging statement, so the user knows when the app is up and running.
This commit is contained in:
Even Stensberg 2016-05-10 21:06:04 +02:00
parent 46e1347dc8
commit cf295105d4

9
app.js
View File

@ -75,6 +75,9 @@
// Expose everything else as static files
app.use(express['static'](options.directory));
// Finally, open the HTTP server
app.listen(options.port);
}());
// Finally, open the HTTP server and log the instance to the console
app.listen(options.port, function() {
console.log('Open MCT application running at localhost:' + options.port)
});
}());