Created
August 6, 2013 14:57
-
-
Save darrenderidder/6165226 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app.js | |
// Your code here... | |
if (!module.parent) { | |
app.listen(port, host, function () { | |
console.log("Express server listening on port %d in %s mode", | |
app.address().port, | |
app.settings.env | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment