We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d9ea58 commit b54aadeCopy full SHA for b54aade
core/config.js
@@ -1,4 +1,5 @@
1
var env = process.env.NODE_ENV || 'development';
2
+console.log('[env]', env);
3
var _ = require('lodash');
4
var path = require('path');
5
var log4js = require('log4js');
package.json
@@ -30,7 +30,7 @@
30
},
31
"scripts": {
32
"dev": "supervisor ./bin/www",
33
- "start": "node ./bin/www",
+ "start": "NODE_ENV=production node ./bin/www",
34
"init": "node ./bin/db init",
35
"upgrade": "node ./bin/db upgrade",
36
"test": "make test",
0 commit comments