commit eea636ba2ab24af9b8a5ee7b637ce51aac5f8bd4
parent df9486d43462743d8078bdded4234e3551cf601b
Author: Romain Sylvian <romain.sylvian@gmail.com>
Date: Thu, 27 Aug 2015 15:59:17 -0700
Use global.WATCH instead of global.watch
global.WATCH is defined in start.js `global.WATCH = true;`. global.watch is undefined.
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);