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.