Permalink
Browse files

Config: change of the extension class causes cache invalidation

  • Loading branch information...
1 parent ffb996c commit cebf97b7df9b7a2a8205b7c2477862284c1baa2f @dg dg committed Apr 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Nette/Config/Compiler.php
@@ -156,6 +156,7 @@ public function generateCode($className, $parentName)
{
foreach ($this->extensions as $extension) {
$extension->beforeCompile();
+ $this->container->addDependency(Nette\Reflection\ClassType::from($extension)->getFileName());
}
$classes[] = $class = $this->container->generateClass($parentName);

0 comments on commit cebf97b

Please sign in to comment.