Skip to content

Commit b54aade

Browse files
author
mac-pro
committed
c
1 parent 7d9ea58 commit b54aade

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
var env = process.env.NODE_ENV || 'development';
2+
console.log('[env]', env);
23
var _ = require('lodash');
34
var path = require('path');
45
var log4js = require('log4js');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"scripts": {
3232
"dev": "supervisor ./bin/www",
33-
"start": "node ./bin/www",
33+
"start": "NODE_ENV=production node ./bin/www",
3434
"init": "node ./bin/db init",
3535
"upgrade": "node ./bin/db upgrade",
3636
"test": "make test",

0 commit comments

Comments
 (0)