Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Vite plugin delay in dev mode
We were using setTimeout to wait for the initial scan to complete before generating Tailwind CSS. Now that full builds wait until the bundle stage, dev builds can simply run immediately. This might generate Tailwind CSS twice, generating a FOUC, but will be faster than waiting for the timeout. A [proposed Vite change](vitejs/vite#16135) could address the FOUC and extra build.
- Loading branch information