public function taskFinished(BuildEvent $event)
    {
        // ignore tasks in root
        if ($event->getTarget()->getName() == "") {
            return;
        }

        $this->remTasks--;
        $this->bar->advance();
    }