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

Nested .less files do not compile anymore after updating to vs 2013 update 2 #1082

Closed
clement911 opened this issue May 20, 2014 · 12 comments · Fixed by #1097
Closed

Nested .less files do not compile anymore after updating to vs 2013 update 2 #1082

clement911 opened this issue May 20, 2014 · 12 comments · Fixed by #1097

Comments

@clement911
Copy link

Hi,
I like to nest my .less files under my .cshtml files. That worked fine before vs 2013 update 2.
However, after installing vs 2013 update 2 (RTM) AND the latest web essentials, it seems that this doesn't work anymore.
As a work around, I have to un-nest my .less file, save the file to trigger the compile, and then re-nest it under my .cshtml file. But you can't perform this work around when the debugger is attached so it really messes up the workflow...

@glittle
Copy link

glittle commented May 21, 2014

Same problem... when the .less file is nested, the .css file is not updated when saved.

@glittle
Copy link

glittle commented May 21, 2014

Upgraded to the current nightly build and the issue is still there.

@am11
Copy link
Contributor

am11 commented May 21, 2014

How are you guys nesting your .less file under .cshtml? By editing csproj file or using some third-party plugin?

@SLaks
Copy link
Collaborator

SLaks commented May 21, 2014

@am11
Copy link
Contributor

am11 commented May 21, 2014

@SLaks, thanks. I tried with that one and able to reproduce this issue.

Apparently, this is by design. See 41b236d.

@madskristensen, why are we filtering nested files from compiler pipeline?

@SLaks
Copy link
Collaborator

SLaks commented May 21, 2014

@madskristensen
Copy link
Owner

@am11 So that we don't compile LESS/Sass files nested under .sprite files. We should probably enable compilation for any other nested files.

@am11
Copy link
Contributor

am11 commented May 21, 2014

This is fixed by d596f94.

@glittle
Copy link

glittle commented May 21, 2014

Great! Do you know when this will be available in the 'nightly' build? (I'm not clear on when those are done.)

@clement911
Copy link
Author

Thanks for the quick fix!

@madskristensen
Copy link
Owner

@glittle I'll release a new nightly build later today.

@clement911
Copy link
Author

@am11 I use NestIn to nest files https://github.com/madskristensen/FileNesting but I'm looking at Mads FileNesting https://github.com/madskristensen/FileNesting (it seems more powerful).

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

Successfully merging a pull request may close this issue.

5 participants