Skip to content

Conversation

@thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented May 28, 2025

In editors that use our language server directly (not our VSCode extension), if you start with a project with a CSS file that isn't a Tailwind CSS config then edit it we want the server to restart.

Unfortunately this was hitting an error causing the restart to fail but because of how things are set up this error isn't easily catchable (but it did get logged thankfully).

This fixes that error and turning a CSS file from a non-config into a proper Tailwind CSS v4 config should work and the server should react accordingly.

@thecrypticace thecrypticace changed the title Fix error that happens when restarting an uninitialized server Properly restart server when detecting new Tailwind CSS v4 configs May 28, 2025
Copy link
Member

@philipp-spiess philipp-spiess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small enough change 👍

@thecrypticace thecrypticace merged commit 78ee813 into main May 28, 2025
12 checks passed
@thecrypticace thecrypticace deleted the fix/error-on-restart branch May 28, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants