I can see in the source that it basically reloads css automatically if you are on localhost, and I can see in the firebug panel that it's requesting the .less file(s) every second.. but when I change something in the files it's not updated on the page unless I do a full refresh.
I also tried using less.refresh() as described here:
https://github.com/cloudhead/less.js/issues/346
But to no avail.
So, how can I reload the .less files without reloading the page?
Thanks
Found the answer to my question here:
https://github.com/cloudhead/less.js/issues/168
Basically had to add a header to prevent caching .less files.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.