Skip to content

Commit cc69ec5

Browse files
committed
Merge pull request kriasoft#238 from MyBoon/patch-1
Use global.WATCH instead of global.watch
2 parents df9486d + eea636b commit cc69ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default async () => new Promise((resolve, reject) => {
3131
}
3232
}
3333

34-
if (global.watch) {
34+
if (global.WATCH) {
3535
bundler.watch(200, bundle);
3636
} else {
3737
bundler.run(bundle);

0 commit comments

Comments
 (0)