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 46be19d commit bf21496Copy full SHA for bf21496
lib/internal/main/watch_mode.js
@@ -48,7 +48,7 @@ function handleWatchedPath(path) {
48
}
49
50
const kKillSignal = convertToValidSignal(getOptionValue('--watch-kill-signal'));
51
-const kShouldFilterModules = getOptionValue('--watch-path').length === 0;
+const kShouldFilterModules = getOptionValue('--watch-pattern').length === 0;
52
const kEnvFile = getOptionValue('--env-file') || getOptionValue('--env-file-if-exists');
53
const kWatchedPaths = ArrayPrototypeFlatMap(getOptionValue('--watch-path'), (path) => handleWatchedPath(path));
54
const kPreserveOutput = getOptionValue('--watch-preserve-output');
0 commit comments