解决方法
我找到了解决我的问题的方案,但对大多数人来说都很棒.
因为我在Mac上我是less.app(http://incident57.com/less/),它使用less.js为你编译较少的.截至几天前,他们又添加了一项新功能:
NEW FEATURE: “backwards @import parsing.” If you have a file,X,that imports another file,Y,and you make changes to Y,X will now automatically recompile when you save Y (if auto-compile is on). This feature is automatic; there’s nothing to turn on or hook up. You’ll see “triggered by: X” in the compiler result when it happens.
事实证明它确实很有效.希望这有助于某人!