Recommend st instead of http-server

It has gzip built-in so the size numbers are closer to real world. Thanks @ForbesLindesay for the tip!
Related to #228
This commit is contained in:
Dan Abramov
2016-07-27 12:04:17 +01:00
committed by GitHub
parent e839dff82c
commit 3a1ed7a9d0

View File

@@ -44,9 +44,9 @@ webpack(config).run(function(err, stats) {
console.log('For example:');
console.log();
console.log(' cd build');
console.log(' npm install -g http-server');
console.log(' hs');
console.log(' ' + openCommand + ' http://localhost:8080');
console.log(' npm install -g st');
console.log(' st -p 8000 -i index.html');
console.log(' ' + openCommand + ' http://localhost:8000');
console.log();
}
console.log('The bundle is optimized and ready to be deployed to production.');