Skip to content

Commit 280132f

Browse files
committed
Merge pull request #59 from thgil/master
Added environment port for #58
2 parents 970575a + 792270c commit 280132f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/express.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function(grunt) {
2828
node_env: undefined,
2929
background: true,
3030
fallback: function() { /* Prevent EADDRINUSE from breaking Grunt */ },
31-
port: 3000,
31+
port: process.env.PORT || 3000,
3232
delay: 0,
3333
output: ".+",
3434
debug: false

0 commit comments

Comments
 (0)