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

Relative imports in LESS files are not really relative to the files themselves #1328

Closed
dotnetwise opened this issue Jul 18, 2014 · 6 comments · Fixed by #1332
Closed

Relative imports in LESS files are not really relative to the files themselves #1328

dotnetwise opened this issue Jul 18, 2014 · 6 comments · Fixed by #1332

Comments

@dotnetwise
Copy link

It seems that imports in less are relative to the .less file you are editing, rather than being relative to the file where the actual @import resides

An image worths 1000 words:
2014-07-18_2040 1

@dotnetwise
Copy link
Author

Hmmit seems to been fixed in the latest nightly build (2.2.6.1), however now has 2 new bugs 👎

  1. It's damn slow - generating preview css in window is 10 times slower than before (~8-10 seconds for a 60KB less + ~100kb imports vs <1sec before)
  2. it doesn't show the content of the generated .css - if generate on save is false, but other external tool generates the file on the disk (in less than 0.5 seconds)!

@am11
Copy link
Contributor

am11 commented Jul 18, 2014

Followed these steps: #381 (comment) but can't reproduce 1 and 2.

A sample project or detailed steps of reproduction would help.

@blowsie
Copy link
Contributor

blowsie commented Jul 21, 2014

Ref #1270

@am11
Copy link
Contributor

am11 commented Jul 21, 2014

@blowsie thanks for the sample project. I am looking into it. 👍

am11 added a commit to am11/WebEssentials2013 that referenced this issue Jul 21, 2014
@am11
Copy link
Contributor

am11 commented Jul 21, 2014

Thanks again @blowsie. Please keep up the great work!
This is fixed by 9b1395e via #1332.

@blowsie
Copy link
Contributor

blowsie commented Aug 20, 2014

@am11 do you know where I put the link to the sample project?

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.

3 participants