Commit 9645cbd1 authored by Dan Abramov's avatar Dan Abramov
Browse files

Switch over to recommending pushstate-server

It has a sane default port, gzip, and doesn’t aggressively cache index.html.
Perfect.
parent 88363b14
No related merge requests found
Showing with 4 additions and 5 deletions
+4 -5
......@@ -43,10 +43,9 @@ webpack(config).run(function(err, stats) {
console.log('You can now serve it with any static server.');
console.log('For example:');
console.log();
console.log(' cd build');
console.log(' npm install -g st');
console.log(' st -p 8000 -i index.html');
console.log(' ' + openCommand + ' http://localhost:8000');
console.log(' npm install -g pushstate-server');
console.log(' pushstate-server build');
console.log(' ' + openCommand + ' http://localhost:9000');
console.log();
}
console.log('The bundle is optimized and ready to be deployed to production.');
......
......@@ -8,7 +8,7 @@ class App extends Component {
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
<h2>Welcome to React!</h2>
</div>
<p className="App-intro">
To get started, edit <code>src/App.js</code> and save to reload.
......
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