-
I have the following Svelte code and since I added Tailwindcss, the server does not reload properly. To be more precise, updates to CSS files do not appear at all, even when I manually refresh the page. The only exception is if I also update an HTML file. In that case, the changes to HTML are shown and if I refresh the page manually, the CSS is also updated. To summarize:
To use tailwind, I followed the instructions. I don't know if there is something I did wrong. Maybe tailwind does not automatically refresh the "static" directory or what? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't use tailwind but I suspect you are missing the vite plugin, see svelte tailwind docs for official setup via cli. |
Beta Was this translation helpful? Give feedback.
I don't use tailwind but I suspect you are missing the vite plugin, see svelte tailwind docs for official setup via cli.