From 3a1ed7a9d0c1d64a1cfab84c7901239b2da50234 Mon Sep 17 00:00:00 2001 From: Dan Abramov <dan.abramov@gmail.com> Date: Wed, 27 Jul 2016 12:04:17 +0100 Subject: [PATCH] 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 --- scripts/build.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build.js b/scripts/build.js index 8bd1f2905..9cbecc9c8 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -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.'); -- GitLab