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

Detect Changes of LESS files that are @imports #299

Closed
rick9004 opened this issue Sep 26, 2014 · 2 comments
Closed

Detect Changes of LESS files that are @imports #299

rick9004 opened this issue Sep 26, 2014 · 2 comments

Comments

@rick9004
Copy link

I'm taking over a project that has a very layered LESS approach. In the primary folder there are 5 less files each pulling in a less file in a folder that in turn has multiple less files as imports.

So.
in folder Theme
all.less (contains all the high level imports both from this folder and other folders)
variables.less (imports the all.less in the folder variable)
fonts.less
pages.less
etc.

Then in folder pages
all.less (contains the folder imports)
variables.less
and so on

Thus I can't use auto compile since if I change a file in a lower level folder auto compile doesn't know about it.

@mindplay-dk
Copy link

Same problem here.

Actually, I have never worked on a LESS or SASS project that wasn't structured using include files, so I don't think I can actually use Koala as it is.

I think, what's needed, in addition to "Auto Compile" in the LESS file options, is a second option that triggers the auto compile when any file in the project folder is changed - I would set that option for my main less file, and changing any of the include files in the same folder would then trigger it.

@oklai
Copy link
Owner

oklai commented Nov 18, 2014

Please refer #137.

@oklai oklai closed this as completed Nov 18, 2014
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

3 participants