Added support for caching: rebuild theme only if any file was changed