lessで@importしたらcacheが残って変更が反映されない件

Feb 13, 2012
AD:

WordPressのRoots Themeの中でlessが使われているのですが、ちょっとトラブったのでそのメモです。

問題は、lessの@importしたらcacheが残って変更が反映されない

それで、調べると同じような問題に起きている人がいる模様。
https://github.com/cloudhead/.js/issues/47

解決方法

結局、下記のスクリプト追加して解決できました。
[php]
[/php]

ちなみに、.lessの中はこんな感じです。

[php]
// Reset
@import “reset.less”;

// Core variables and mixins
@import “variables.less”; // Modify this for custom colors, -sizes, etc
@import “mixins.less”;

// Grid system and page structure
@import “scaffolding.less”;
@import “grid.less”;
@import “layouts.less”;
[/php]

Related posts

AD:

No Comments, Comment or Ping

Reply to “lessで@importしたらcacheが残って変更が反映されない件”

You must be logged in to post a comment.

Search Keyword

Meta

face Ayumi Mizoshiri
WEB developer

FacebookPage

Popular Posts

Sorry. No data so far.

ARCHIVES