Skip to content

Commit 5c2761d

Browse files
committed
set timeout to 0 just for the sake of it
1 parent e3deea5 commit 5c2761d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/incrementalCompilation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ export function triggerIncrementalCompilationOfFile(
472472
// TODO: Can we remove this timeout? Don't remember why it was added...
473473
const timeout = setTimeout(() => {
474474
compileContents(entry, fileContent, send, onCompilationFinished);
475-
}, 20);
475+
}, 0);
476476

477477
if (entry.compilation != null) {
478478
entry.compilation.timeout = timeout;

0 commit comments

Comments
 (0)