commit 0ad1942924697414c7dc126f159e24fcd03a0db6
parent d1b98c9b2e8816dbed6b5bd652bdcbec7deeeb9c
Author: Konstantin Tarkus <koistya@gmail.com>
Date: Mon, 21 Sep 2015 06:37:23 +0300
Merge pull request #261 from schnerd/webpack-bundle-fix
Reference case-sesnsitive global.WATCH for webpack config
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/bundle.js b/tools/bundle.js
@@ -26,7 +26,7 @@ export default async () => new Promise((resolve, reject) => {
console.log(stats.toString(config[0].stats));
- if (++bundlerRunCount === (global.watch ? config.length : 1)) {
+ if (++bundlerRunCount === (global.WATCH ? config.length : 1)) {
return resolve();
}
}