Skip to content

Commit c0de109

Browse files
committed
adding config option for port alongside process.env.PORT
1 parent 4d3ffd0 commit c0de109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function (gulp, config) {
66
connect.server({
77
root: config.example.dist,
88
fallback: path.join(config.example.dist, 'index.html'),
9-
port: process.env.PORT || 8000,
9+
port: config.example.port || process.env.PORT || 8000,
1010
livereload: true
1111
});
1212
});

0 commit comments

Comments
 (0)