protected function writeFileWatch(Build $builder, Generate\Collections $collections) { foreach ($collections->getFiles() as $file) { $builder->watch($file); $builder->watch(dirname($file)); } }
protected function generateIfNeeded() { $build = new Build(__FILE__, $this->loader . '.tmp'); $file = $build->build('activemongo2', $this->loader, $this->path, array('loader' => $this->loader)); }