These are chat archives for less/less.js

20th
Jul 2016
Matthew Dean
@matthew-dean
Jul 20 2016 04:01
You can't disable it?
Should be able to.
Johnathon Holmes
@aDevildog
Jul 20 2016 05:45
I've tried clearing the localstorage, and then manually refreshing to no avail. My enviroment is set to development too. :(
Matthew Dean
@matthew-dean
Jul 20 2016 06:06
hmm
Johnathon Holmes
@aDevildog
Jul 20 2016 06:12
Once in a blue moon it works fine, most of the time I have to just work out of my main .less file, and cut the changes over to the imported .less file afterwards lol
Matthew Dean
@matthew-dean
Jul 20 2016 16:11
Okay, did you file a bug on Github? Someone else may have more insight. I added some stuff to caching not that long ago (allowing caching with using custom vars), but I don't think I touched anything with disabling caching altogether.
Wait.... you cleared localstorage and still had cached files? That doesn't sound like Less.
It's possible you have long expiry's on your web host?
That is, it could be the browser/server that's not getting new files for you. The Less cache is stored only in localstorage.
Matthew Dean
@matthew-dean
Jul 20 2016 16:18
Sometimes what you have with aggressive caching in that scenario is "version" your files by adding URL args. See: http://lesscss.org/usage/#command-line-usage-options
(cache busting)
So that's not a Less bug AFAIK
Johnathon Holmes
@aDevildog
Jul 20 2016 18:30
Im running locally, and Im compiling it at runtime, not through command line.
IE,
<link href="example.com/main.less" rel="stylesheet/less">
<script src="example.com/assets/js/less/less.min.js" ></script>
(just for my dev work, once Im done Ill compile it into a .css file :worried: )