We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9173c9c commit 5196ea3Copy full SHA for 5196ea3
packages/react-scripts/scripts/start.js
@@ -43,7 +43,7 @@ if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
43
}
44
45
// Tools like Cloud9 rely on this.
46
-var DEFAULT_PORT = process.env.PORT || 3000;
+var DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;
47
var compiler;
48
var handleCompile;
49
0 commit comments