buildSDK/less-bootstrap-compiler.php
authoredward <edward@roojs.com>
Fri, 5 Jan 2018 09:53:28 +0000 (17:53 +0800)
committeredward <edward@roojs.com>
Fri, 5 Jan 2018 09:53:28 +0000 (17:53 +0800)
buildSDK/less-bootstrap-compiler.php

index b76ff23..01f7144 100644 (file)
@@ -42,6 +42,10 @@ foreach ($files as $src => $file){
     
     $variable = "{$rootDir}/roojs1/less/bootstrap/variables.less";
     
+    if(filemtime($variable) > filemtime($css)){
+        continue;
+    }
+    
 }
         
 require_once 'HTML/Less.php';