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

Check in sass files #269

Open
mariusgnicula opened this issue May 17, 2019 · 1 comment
Open

Check in sass files #269

mariusgnicula opened this issue May 17, 2019 · 1 comment

Comments

@mariusgnicula
Copy link

Awesome work, man!
I will definitely use this in my projects, though I do have a question. I use SASS & Webpack and while the plugin works great when my code is compiled down to CSS, it does not work in development as the styles are taken directly from the sass files. Is there a way to check sass files as well as css? Thanks again!

@marcj
Copy link
Owner

marcj commented May 17, 2019

Question is, how does your framework inject the generated css into the DOM? You need to hijack that process and let ElementQueries.init() run directly after it.
As alternative, we could try to detect newly added <style> elements during dev mode and automatically parse those and remove old sensors from removed <style> elements that got removed. We need a PoC first tho'

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

No branches or pull requests

2 participants