-
Notifications
You must be signed in to change notification settings - Fork 7
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
Doesn't run when using Watch #87
Comments
Hi Ben. Which version of package do you use? |
Hi, |
Can you provide a minimal reproduction example or basic webpack config with your problem? |
I've stripped the webpack config down to the follow; and still see the issue. I'm starting the process in the terminal with
|
I have reproduced the problem, thanks. Main reason that cause problem is that we don't attach loader to the same module again. Previously we had to resolve other issues regarding multiple modifications the same module (issue - #48 (comment)). And it still working good in cases that we are tested (Vue application, for example) and after recompilation in watch mode loader has applied correctly again. So, I think we are need to do research again how to fix this problem and without unnecessary repeated module modifications. I can do fix for you that removes this limitation and publish under some tag or special version (not release of course) if you need |
Glad it's not just me! That would be amazing - thank you! |
Probably you misunderstood me, haha. I mean that we're solved problem (in #48 (comment)) that fixes unnecessary extra modifications to the same module. But this fix has led to the problem that sometimes the loader is not applied (your issue) 😄 |
Released 4.1.0 |
Sorry, delayed testing this - looking great - thank you! |
I've setup this plugin in my webpack config to re-write sass url's
It works brilliantly when running webpack directly, but if I use set the watch option to true; the re-written urls are lost if any changes are made to the sass files while watching.
Is this expected; can it me made to work?
Thanks,
Ben.
The text was updated successfully, but these errors were encountered: