Beans_Lessc::checkedCompile PHP Method

checkedCompile() public method

compile only if changed input has changed or output doesn't exist
public checkedCompile ( $in, $out )
    public function checkedCompile($in, $out)
    {
        if (!is_file($out) || filemtime($in) > filemtime($out)) {
            $this->compileFile($in, $out);
            return true;
        }
        return false;
    }