Merge pull request #915 from ev1stensberg/patch-1

[Functionality] Log app instance to the console
This commit is contained in:
Andrew Henry 2016-06-23 11:24:53 -07:00 committed by GitHub
commit 2a2f6e8142

8
app.js
View File

@ -75,6 +75,8 @@
// 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)
});
}());