Open oliverandrich opened 4 days ago
The idea with the runserver command is not good. I kills the support as soon as the runserver is not running. The approach has to be to create a management command, that installs the fix based on the used tailwindcss cli version.
And the fix should integrate a way to update the links as soon as the cli version is changed.
PyCharm's tailwindcss plugin has an issue with the CLI.
https://youtrack.jetbrains.com/issue/WEB-55647/Support-Tailwind-css-autocompletion-using-standalone-tailwind-CLI#focus=Comments-27-10957961.0-0
It might be a handy idea to support a workaround that is handled by the runserver and runserver_plus command. Say could temporarily create the required files and links and delete them, when the server exits.