Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit f5954aa

Browse files
committed
Enable setting the port from command line
1 parent 59ea7ee commit f5954aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.dev.babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = {
6060
},
6161
devServer: {
6262
contentBase: 'build',
63-
port: 3001,
63+
port: process.env.PORT || 3001,
6464
stats: {
6565
chunks: false,
6666
hash: false,

0 commit comments

Comments
 (0)