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 3152c63 commit 378e501Copy full SHA for 378e501
packages/rspack-test-tools/src/case/watch.ts
@@ -294,7 +294,7 @@ export function createWatchStepProcessor(
294
// which will cause the compiler not rebuild when the files change.
295
// The timeout is set to 400ms for windows OS and 100ms for other OS.
296
// TODO: This is a workaround, we can remove it when notify support windows better.
297
- const timeout = nativeWatcher && process.platform === "win32" ? 400 : 100;
+ const timeout = nativeWatcher && process.platform === "win32" ? 4000 : 100;
298
await new Promise(resolve => setTimeout(resolve, timeout));
299
copyDiff(path.join(context.getSource(), step), tempDir, false);
300
await task;
0 commit comments