We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8809e37 commit 5f285c7Copy full SHA for 5f285c7
build.js
@@ -57,8 +57,7 @@ function watch_dirs(dir, on_change) {
57
const callback = (ev, dir, fname) => {
58
// only listen for "change" events, as renames are noisy
59
// ignore hidden files and the "4913" temporary file created by vim
60
- const isHidden = /^\./.test(fname);
61
- if (ev !== "change" || isHidden || fname === "4913")
+ if (ev !== "change" || fname.startsWith('.') || fname === "4913")
62
return;
63
on_change(path.join(dir, fname));
64
};
0 commit comments