Skip to content

Commit

Permalink
changed the server startup message (reverted)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien committed Jul 12, 2012
1 parent 6f697f6 commit 4356e10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app.coffee
Expand Up @@ -25,7 +25,6 @@ for s in ARGV
m = rargs.exec s
app.env = 'production' if m and m[0] and m[0].match rprod

console.log app.env
### express configuration ###
app.configure ->
app.set 'views', __dirname + '/views'
Expand Down Expand Up @@ -77,5 +76,9 @@ app.listen 3000, ->
console.log '|______|___/ .__/|_| \\___||___/___/\\___/ '
console.log ' | | '
console.log ' |_| '
console.log "Server listening on port %d, [%s]", app.address().port, app.env ? 'dev'
console.log '\n'
console.log "Server listening on port %d", app.address().port




0 comments on commit 4356e10

Please sign in to comment.