Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Hot Reload when importing TailwindConfig from another tailwind.config.ts file #13419

Open
sshmaxime opened this issue Apr 1, 2024 · 0 comments

Comments

@sshmaxime
Copy link

What version of Tailwind CSS are you using?

3.3

What build tool (or framework if it abstracts the build tool) are you using?

Next: 14.1.0
Postcss: 8

What version of Node.js are you using?

20.11.0

What browser are you using?

Chrome

What operating system are you using?

MacOS

Reproduction URL

Codesandbox

Describe your issue

I'm using a monorepo and have my tailwind.config.ts in a ui package that I import from my Nextjs apps like so export * from "@repo/ui/tailwind.config"; in my apps tailwind.config.ts.

Basically, what I expect is that when I change something in that file it hot reload like it does in a normal setup. But it doesn't hot reload and I have to shutdown dev and reload it manually.

Thanks for your help 🙏

@sshmaxime sshmaxime changed the title No HotReload when exporting Config from another tailwind.config.ts in monorepo No HotReload when exporting TailwindConfig from another tailwind.config.ts in monorepo Apr 1, 2024
@sshmaxime sshmaxime changed the title No HotReload when exporting TailwindConfig from another tailwind.config.ts in monorepo No HotReload when exporting TailwindConfig from another tailwind.config.ts Apr 1, 2024
@sshmaxime sshmaxime changed the title No HotReload when exporting TailwindConfig from another tailwind.config.ts No Hot Reload when importing TailwindConfig from another tailwind.config.ts file Apr 1, 2024
@tailwindlabs tailwindlabs deleted a comment from ryan1969manus Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant