Commit dbf17fd0 authored by Matt Crampton's avatar Matt Crampton Committed by Dan Abramov
Browse files

Setting a dynamic port value for the pushstate-server URL text (#1628)

* Setting a dynamic port value for the pushstate-server URL text after a build is completed

* Fixing merge conflict
parent b609ac96
Showing with 1 addition and 1 deletion
+1 -1
......@@ -233,7 +233,7 @@ function build(previousSizeMap) {
console.log(' ' + chalk.cyan('npm') + ' install -g pushstate-server');
}
console.log(' ' + chalk.cyan('pushstate-server') + ' ' + build);
console.log(' ' + chalk.cyan(openCommand) + ' http://localhost:9000');
console.log(' ' + chalk.cyan(openCommand) + ' http://localhost:' + (process.env.PORT || 9000)
console.log();
}
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment