Closed codetheweb closed 7 months ago
tl;dr: the dev server sometimes read the bundle from the file system before esbuild was finished writing it. This manifested as a flaky test in CI.
The added code looks complex but it turns out there's a lot of race conditions we need to cover.
tl;dr: the dev server sometimes read the bundle from the file system before esbuild was finished writing it. This manifested as a flaky test in CI.
The added code looks complex but it turns out there's a lot of race conditions we need to cover.