Skip to content

Commit c13461b

Browse files
watch: remove double debounce
1 parent dbbba06 commit c13461b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/main/watch_mode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const args = ArrayPrototypeFilter(process.execArgv, (arg, i, arr) =>
4545
arg !== '--watch' && !StringPrototypeStartsWith(arg, '--watch=') && arg !== '--watch-preserve-output');
4646
ArrayPrototypePushApply(args, kCommand);
4747

48-
const watcher = new FilesWatcher({ debounce: 200, mode: kShouldFilterModules ? 'filter' : 'all' });
48+
const watcher = new FilesWatcher({ mode: kShouldFilterModules ? 'filter' : 'all' });
4949
ArrayPrototypeForEach(kWatchedPaths, (p) => watcher.watchPath(p));
5050

5151
let graceTimer;

0 commit comments

Comments
 (0)