commit cc69ec585fa7b5c95a14b5c14b67cd5388b1e7dc
parent df9486d43462743d8078bdded4234e3551cf601b
Author: Konstantin Tarkus <koistya@gmail.com>
Date: Fri, 28 Aug 2015 02:25:41 +0300
Merge pull request #238 from MyBoon/patch-1
Use global.WATCH instead of global.watch
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/bundle.js b/tools/bundle.js
@@ -31,7 +31,7 @@ export default async () => new Promise((resolve, reject) => {
}
}
- if (global.watch) {
+ if (global.WATCH) {
bundler.watch(200, bundle);
} else {
bundler.run(bundle);