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

Support hot reloading when .css or any other imported file changes #13665

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

Support hot reloading when .css or any other imported file changes

To make a file eligible for hot reloading, import the file

import './tailwind.css'

// ... rest of my app

Previously, we only supported hot reloading known files like .js, .ts. This makes it work for arbitrary non-virtual files.

Fixes #13652

How did you verify your code works?

There is a test

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

Successfully merging this pull request may close these issues.

--watch/--hot set file extensions
2 participants