You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making any syntax error in tailwind.config.cjs, you'll see a .temp.xxxx.tailwindcss.config.cjs generated. Fixing that error in tailwind.config.cjs won't clean up that temp file.
I think we need to unlink that temp file in both try and catch here
@chenxsan Yes, thank you! Probably this should be done in the finally (maybe in its own try/catch in case it fails). Would you be willing to submit a PR for this?
What version of
astro
are you using?1.6.10
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
Making any syntax error in
tailwind.config.cjs
, you'll see a.temp.xxxx.tailwindcss.config.cjs
generated. Fixing that error intailwind.config.cjs
won't clean up that temp file.I think we need to
unlink
that temp file in bothtry
andcatch
hereastro/packages/integrations/tailwind/src/index.ts
Line 51 in 4b18813
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-1gh3v5?file=tailwind.config.cjs&on=stackblitz
Participation
The text was updated successfully, but these errors were encountered: