Skip to content

Conversation

@aralroca
Copy link

@aralroca aralroca commented Nov 28, 2025

Fixes #14869

Changes

Fixed an issue where saving SCSS modules (.module.scss) triggered a full page reload in Astro dev mode.

Now, hot-reloading updates styles in place without a full reload.

Tests

I haven't found any tests for this existing plugin to add the test case. Open to feedback.

@changeset-bot
Copy link

changeset-bot bot commented Nov 28, 2025

⚠️ No Changeset found

Latest commit: 5df6cc0

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.

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Nov 28, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 28, 2025

CodSpeed Performance Report

Merging #14924 will not alter performance

Comparing aralroca:main (5df6cc0) with main (4bceeb0)

Summary

✅ 6 untouched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SCSS file changes trigger full page reload instead of HMR

1 participant