css - bootstrap less not reflecting changes -


i using less bootstrap reasons changes make in "variables.less" not reflected in generated css.

below code sample:

<!doctype html> <html> <head> <meta charset="utf-8"> <title>yazeba - simple property search engine.</title> <link rel="stylesheet/less" type="text/css" href="template/less/bootstrap.less" /> <script type="text/javascript" src="template/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="template/js/bootstrap.min.js"></script> <script type="text/javascript" src="template/less-lib/less-1.3.3.min.js"></script> </head> <body> <a href="#">change font color of using variables.less</a> </body> </html> 

i have checked , files loaded properly, bootstrap.less rendered in <style>..</style> tags, changes made variables.css not reflated here..

also don't have css conflicts changes. file permissions , directories okay (i can access using browser).

would appreciate this.

thanks in advance.

i figured out wrong....

the bootstrap.less cached browser , every request rather compiling fresh copy, browser using cached copy , hence not reflecting new changes...

to solve problem i've called css , worked.

<link rel="stylesheet/less" type="text/css" href="template/less/bootstrap.less<?php echo '?ver='.microtime(); ?>" /> 

hope helps someone...


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -