-
Notifications
You must be signed in to change notification settings - Fork 522
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
Watch imported SCSS files, shorthand notation #41
Comments
I was tested, both of two files are watched. 2013/6/25 zedzedzed notifications@github.com
|
Not for me, I'm using Koala 1.4.1 on OSX 10.8.4. Is there a log that I can use to help troubleshoot? Current test case:
Told Koala to watch the test directory but it won't act on changes to _variables.scss. |
Whether you don't want to watch the imported file which without specifying 2013/6/25 zedzedzed notifications@github.com
|
http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#import The link suggests that you can omit the extension and it will try both .scss and .sass files for import. The _ means it is a partial. I was wondering shouldn't changes to these files trigger it to be recompiled? Eg, in the _variables.scss case, you can have colour, sizing, font (and more) definitions so surely changes should trigger a recompile? Is there something I'm doing wrong? |
You mean that the "variables" file does not be watched? Which version of your koala, I have tested it in the latest version, "variables" has been watched, when "variables" file changes, it will trigger "master.scss" recompile. |
Yep _variables.scss not watched when imported like:
I've done some more testing and hopefully this makes it easier to replicate, files are: /master.scss master.scss
From my testing above, it appears that imported files are watched if they have the filename spelled out exactly (extensions can be omitted). From above, _test2.scss and _test4.scss are watched, the others are not. Not sure if this is a Sass or Koala thing... According to the Sass docs, the _ is omittable. |
I get it. |
Just bumped into this issue as well. Thank you @oklai ! |
Same here :( |
For me this works fine now with latest version on linux. thanks. |
Hi - Koala doesn't appear to be watching over imported SCSS files with the shorthand notation, see http://sass-lang.com/tutorial.html#id1
As an example, only the second line will be watched for modifications from below:
master.scss
This issue is unrelated to #24
The text was updated successfully, but these errors were encountered: