Skip to content

Commit 3a1ed7a

Browse files
authored
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
1 parent e839dff commit 3a1ed7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ webpack(config).run(function(err, stats) {
4444
console.log('For example:');
4545
console.log();
4646
console.log(' cd build');
47-
console.log(' npm install -g http-server');
48-
console.log(' hs');
49-
console.log(' ' + openCommand + ' http://localhost:8080');
47+
console.log(' npm install -g st');
48+
console.log(' st -p 8000 -i index.html');
49+
console.log(' ' + openCommand + ' http://localhost:8000');
5050
console.log();
5151
}
5252
console.log('The bundle is optimized and ready to be deployed to production.');

0 commit comments

Comments
 (0)