original_string: public function compile()
    {
      if (!$this->enabled || $this->env !== "dev") {
        return;
      }
      foreach ($this->watchers as $name => $watcher) {
        if (isset($this->configs[$name])) {
          foreach ($this->configs[$name] as $configPath) {
            $files = $watcher->getChildren($configPath);
            if ($this->cache->isFresh($configPath, $files)) {
              $watcher->compile($configPath);
              $this->cache->write($configPath, $files);
            }
          }
        }
      }
    }
code: public function compile()
    {
      if (!$this->enabled || $this->env !== "dev") {
        return;
      }
      foreach ($this->watchers as $name => $watcher) {
        if (isset($this->configs[$name])) {
          foreach ($this->configs[$name] as $configPath) {
            $files = $watcher->getChildren($configPath);
            if ($this->cache->isFresh($configPath, $files)) {
              $watcher->compile($configPath);
              $this->cache->write($configPath, $files);
            }
          }
        }
      }
    }
code_tokens: public function compile ( ) { if ( ! $ this -> enabled || $ this -> env !== "dev" ) { return ; } foreach ( $ this -> watchers as $ name => $ watcher ) { if ( isset ( $ this -> configs [ $ name ] ) ) { foreach ( $ this -> configs [ $ name ] as $ configPath ) { $ files = $ watcher -> getChildren ( $ configPath ) ; if ( $ this -> cache -> isFresh ( $ configPath , $ files ) ) { $ watcher -> compile ( $ configPath ) ; $ this -> cache -> write ( $ configPath , $ files ) ; } } } } }
docstring: Compile watchers' files
  
  @return null
docstring_tokens: Compile watchers files