Skip to content

fix css hot reload in route/layout files#2146

Closed
madaxen86 wants to merge 2 commits into
solidjs:mainfrom
madaxen86:patch-css-hot-reload-ss2
Closed

fix css hot reload in route/layout files#2146
madaxen86 wants to merge 2 commits into
solidjs:mainfrom
madaxen86:patch-css-hot-reload-ss2

Conversation

@madaxen86
Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

What is the current behavior?

When adding or changing a tailwind class within a route/layout file, it does not get applied. Hot reloading of css is broken.
It works any tsx/jsx file which is not a route though.

This PR hook into the hot reload of the route/layout files and invalidates the cssModules.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 20, 2026

⚠️ No Changeset found

Latest commit: 054b7e8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for solid-start-landing-page ready!

Name Link
🔨 Latest commit 054b7e8
🔍 Latest deploy log https://app.netlify.com/projects/solid-start-landing-page/deploys/6a0d7d041620cf0008dd1191
😎 Deploy Preview https://deploy-preview-2146--solid-start-landing-page.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 20, 2026

Open in StackBlitz

npm i https://pkg.pr.new/solidjs/solid-start/@solidjs/start@2146
npm i https://pkg.pr.new/solidjs/solid-start/@solidjs/vite-plugin-nitro-2@2146

commit: 054b7e8

@madaxen86 madaxen86 closed this May 20, 2026
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.

1 participant