Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The extension silently crashes if there's an error with the tailwind.config.js #156

Closed
paulpopus opened this issue Jul 24, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@paulpopus
Copy link

If I do something that errors out the tailwind.config.js the extension silently stops working until I restart vscode again.

To replicate you can do something like adding an invalid variant to a utility

transitionDuration: ['responsive', 'hover', 'focus', 'invalid-variant'],

Then if you remove it, the extension is still dead and doesn't autocomplete until it's restarted.

@bradlc bradlc added the bug Something isn't working label Aug 25, 2020
@bradlc
Copy link
Contributor

bradlc commented Aug 25, 2020

v0.4.3 is out now with better error handling 👍

@bradlc bradlc closed this as completed Aug 25, 2020
@paulpopus
Copy link
Author

Thanks a lot @bradlc , this was such an annoying issue when writing lots of plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants