Skip to content
Myr

Added; the `express(1)` generated app outputs the env

Before adoption: this commit came in with the history the project adopted, so no landing records it.

thanks nathan! totally thoguht I had this :D

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 5d16e6b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:bin/express+1 added-1 removed
189 unmodified lines
190 , ' });'191 , '});'192 , ''193 , 'app.listen(3000);'194 , 'console.log("Express server listening on port %d", app.address().port);'194 , 'console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);'195 , ''196].join('\n');197198// Parse arguments
221 unmodified lines