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

        $this->bar->setMessage($event->getTask()->getTaskName(), 'task');

        $this->determineDepth($event);
    }