leafo/lessphp — pull request #217 by mneuhaus (2012-03-29 23:00:08+00:00)
Title: Filemtime Checks for imported files

The ccompile function only checked, if the main file was changed, but most projects use one file to import all the other less files. So far changes in these imported files couldn't be used to trigger a recompile.

I've added a function checkImports to find and check the imported files with a variable depth.

The ccompile function used a default depth of 0 to be backwards compatible.

To use this new checks all you have to do is:

```PHP

```