File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 77// use this if you want to recursively match all subfolders:
88// 'test/spec/**/*.js'
99
10+ process . env . NODE_ENV = process . env . NODE_ENV || 'development' ;
11+ var config = require ( './lib/config/config' ) ;
12+
1013module . exports = function ( grunt ) {
1114
1215 // Load grunt tasks automatically
@@ -26,7 +29,7 @@ module.exports = function (grunt) {
2629 } ,
2730 express : {
2831 options : {
29- port : process . env . PORT || 9000
32+ port : config . port
3033 } ,
3134 dev : {
3235 options : {
@@ -186,7 +189,7 @@ module.exports = function (grunt) {
186189 options : {
187190 nodeArgs : [ '--debug-brk' ] ,
188191 env : {
189- PORT : process . env . PORT || 9000
192+ PORT : config . port
190193 } ,
191194 callback : function ( nodemon ) {
192195 nodemon . on ( 'log' , function ( event ) {
You can’t perform that action at this time.
0 commit comments