Skip to content

Dev server needs to be restarted for Tailwind config changes to be picked up #4913

@Princesseuh

Description

@Princesseuh

What version of astro are you using?

1.3.1

Are you using an SSR adapter? If so, which one?

N/A

What package manager are you using?

pnpm

What operating system are you using?

macOS

Describe the Bug

Changes inside a Tailwind config are only picked up when the dev server is restarted, this is annoying and not a good DX when wanting to make quick iterations.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-mdx6br?file=tailwind.config.cjs,src%2Fpages%2Findex.astro&on=stackblitz

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

Labels

- P4: importantViolate documented behavior or significantly impacts performance (priority)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions