search

Home  >  Q&A  >  body text

apache - Files imported in less are not updated

I use less-2.1.jsIt is compiled in real time in the browserless

Introduce bootstrap.less into the HTML file
In bootstrap.less@import two.lessfile

Now after I modified two.less, there was no change when I refreshed the browser. After modifying bootstrap.less, the modifications in two.less will take effect.

Clearing and disabling the browser cache cannot solve this problem, nor can setting ApacheEnableSendfile off.

某草草某草草2754 days ago504

reply all(1)I'll reply

  • 为情所困

    为情所困2017-05-16 17:05:11

    less options http://lesscss.org/#client-side-usage-browser-options

    <script>
      less = {
        env: "development",
      }
    </script>
    

    reply
    0
  • Cancelreply