F
F
Finom2012-04-13 20:54:25
css
Finom, 2012-04-13 20:54:25

LESS styles are not compiled. How to see the error?

At some point, LESS files stopped compiling, I tried to roll back to the previous “working” moment, but to no avail. There are no styles on the page (including the bootstrap, which worked fine before): XHR requests (compiler - client) to fifty files are processed successfully, no 404s. I tried to comment out my code completely, but the styles still did not compile. I hope for help, since the subject does not show any errors.
m_20120413-qk47-14kb.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaliy Petrychuk, 2012-04-13
@vermilion1

Here's what I dug up. github.com/cloudhead/less.js/blob/master/dist/less-1.3.0.js#L3107
You can add your host here, thereby activating the development env and see where the error is. Well, or another condition, for example, some hash that only you will know :)

A
Anatoly, 2012-04-13
@taliban

lesscss.org/#-client-side-usage
"To enable it, append '#!watch' to the browser URL, then refresh the page. alternatively, you can run less.watch() from the console."
Isn't it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question