#After I modify CSS, my local build time jumps to 2000ms
1 messages · Page 1 of 1 (latest)
Hi @woven finch. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Based on the information provided in the extracts, it seems like you're experiencing a performance issue with Astro when modifying CSS. This issue has been reported by other users as well, where changes in CSS or configuration files like Tailwind or PostCSS require a server restart for the changes to be picked up, and this can lead to increased build times.
However, without more specific details about your setup (like Astro version, package manager, operating system, etc.), it's hard to provide a definitive solution.
Here are a few things you could try based on the information from the extracts:
-
Check if you're using any CSS preprocessor like SCSS or PostCSS. Some users reported issues with these tools causing increased build times. If you're using one, try disabling it temporarily to see if it affects the build time.
-
If you're using Tailwind CSS, be aware that changes in the Tailwind config are only picked up when the dev server is restarted. This could potentially increase your build times.
-
Some users reported issues with specific Astro versions. If possible, try updating Astro to the latest version or switching to a different version to see if it resolves the issue.