-
-
Notifications
You must be signed in to change notification settings - Fork 833
Closed
Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within Stencil
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
4.5.0
Current Behavior
Stencil in watch mode does not rebuild when config.globalStyle is updated on windows.
Expected Behavior
Changing config.globalStyle should trigger a rebuild.
System Info
Latest Windows (this is relevant because the bug will not be present on linux).Steps to Reproduce
npm run start
make a change to /src/global.css eg change "--color-primary: red;" to blue.
change is not reflected in browser.
Code Reproduction URL
https://github.com/Datacom-Digital/stencil-bug
Additional Information
This is because buildCtx.filesChanged is normalised but config.globalStyle is not so the string compare fails. This is probably effecting imports as well however i don't use them in my project so haven't checked.
See #4898 for the patch that fixed the issue for me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within Stencil