-
Notifications
You must be signed in to change notification settings - Fork 352
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
Fix a check that prevents compiling .css files to themselves #968
Conversation
georgpukk
commented
Mar 1, 2020
- fixes the infinite loop issue in --watch mode (The fix for issue #806 leads to an infinity loop! #904, --watch infinite loop #853)
- previously it compared relative destination to absolute source
- p.relative(destination) is used to replace backslashes
* fixes the infinite loop issue in --watch mode * previously it compared relative destination to absolute source * p.relative(destination) is used to replace backslashes
Thank you so much for this commit! I just learned SASS and this bug is the only thing preventing me from fully integrating SASS into my workflow. For now I'm just running sass from the command line every time I make an edit which is super tedious, but with this I can just set it as a daemon and forget it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the commit, and sorry it's taken so long to review! Have you been able to reproduce this in a test case? I'd like to get a regression test in place before committing a fix for this.
Co-Authored-By: Natalie Weizenbaum <[email protected]>
This is the reproducing test case (at least on Windows 10).
|
Can you add that to the existing watch tests? |