Skip to content

Commit 3b62bd8

Browse files
committed
[devtool] decrease the timeout of css insertion timing
1 parent 1cef040 commit 3b62bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/next/src/build/webpack/loaders/devtool/devtool-style-inject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function startObservingForPortal() {
117117
cache.isObserving = false
118118
} else {
119119
// Try again after a short delay
120-
setTimeout(checkShadowRoot, 50)
120+
setTimeout(checkShadowRoot, 20)
121121
}
122122
}
123123
checkShadowRoot()

0 commit comments

Comments
 (0)