ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 6cc0f770381f6bcca7f1466f0924d5ba02693a16
parent e0f299bddce3878efdf366db810eb1a140a3e21f
Author: Konstantin Tarkus <hello@tarkus.me>
Date:   Wed,  9 Mar 2016 15:01:39 +0300

Fix #490: npm start fails with TypeError message

Diffstat:
Mtools/start.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/start.js b/tools/start.js @@ -83,8 +83,8 @@ async function start() { .filter(compiler => compiler.options.target !== 'node') .map(compiler => webpackHotMiddleware(compiler)); - let handleServerBundleComplete = () => { - runServer((err, host) => { + var handleServerBundleComplete = () => { // eslint-disable-line no-var,vars-on-top + runServer((err, host) => { // github.com/kriasoft/react-starter-kit/issues/490 if (!err) { const bs = Browsersync.create(); bs.init({