Fix watchFilesFromArgs flush timeout
MODIFY
packages/@romejs/core/server/ServerRequest.ts
packages/@romejs/core/server/ServerRequest.ts
@@ -601,12 +601,12 @@ export default class ServerRequest {
let pendingPaths = new AbsoluteFilePathSet();
async function flush(initial: boolean) {
+ timeout = undefined;
+
if (!initial && pendingPaths.size === 0) {
return;
}
- timeout = undefined;
-
const paths = pendingPaths;
pendingPaths = new AbsoluteFilePathSet();

Fix watchFilesFromArgs flush timeout (#687)