-
Notifications
You must be signed in to change notification settings - Fork 790
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
bug: SCSS doesn't rebuild when path is outside stencil directory #5599
Comments
@James-Wilkinson-git thanks for raising the issue. I am not really able to reproduce this. I checked out the code, installed the dependencies and ran Anything I am doing wrong here? |
I blew away node_modules and package-lock did a fresh npm install and still the same issue it doesn't run. Also using VSCode. My co-worker on a mac also sees the same issue, what could be causing it? |
Can you provide a step by step explanation how this can be reproduced on your machine using the reproducible example? |
I did… fresh install the repo and I have the problem. But you did It and dont. So something has to be up with the watcher source code compiling on install maybe? Node versions? Windows versions? I don’t know how that stuff works to help troubleshoot better |
Are you on Windows? |
npm 8.19.4 |
Thanks for this information. We were able to validate this defect on Windows. We will ingest this into our backlog and will prioritize it accordingly. |
Oh that's great news! |
This may be related, I might need to use powershell instead of git-bash inside vscode to get it to work until windows fixes microsoft/WSL#4739 |
Can you confirm that the expected behavior works using Powershell? |
For me it doesn't matter which terminal I use (PowerShell, pwsh, git bash or Mac's Terminal). Nested sass files are not change-detected. |
Prerequisites
Stencil Version
4.13
Current Behavior
When you make a change to an SCSS file that lives outside of the stencil directory the changes are not picked up and re-rendered. This is an issue when using stencil in a mono-repo environment with shared styles.
Expected Behavior
Watcher should listen for changes and recompile scss when the files provided are changed.
System Info
No response
Steps to Reproduce
Edit the scss and see it doesn't update from red to blue for example.
https://github.com/James-Wilkinson-git/stencil-bug
Code Reproduction URL
https://github.com/James-Wilkinson-git/stencil-bug
Additional Information
Relates too #2635
The text was updated successfully, but these errors were encountered: