public function compile(GetResponseEvent $event)
  {
    if (!$this->debug) {
      return;
    }
    if (HttpKernelInterface::MASTER_REQUEST !==  $event->getRequestType()) {
      return;
    }
    $this->assetWatcher->compile();
  }