public function rebuild()
    {
        if ($this->tracker->isOutdated()) {
            $this->logger->info('[Webpack 1/2]: Compiling assets.');
            $output = $this->compiler->compile();
            $this->logger->debug($output);

            $this->logger->info('[Webpack 2/2]: Dumping assets.');
            $this->dumper->dump();
        } else {
            $this->logger->info('[Webpack]: Cache still up-to-date.');
        }
    }
public function rebuild()
    {
        if ($this->tracker->isOutdated()) {
            $this->logger->info('[Webpack 1/2]: Compiling assets.');
            $output = $this->compiler->compile();
            $this->logger->debug($output);

            $this->logger->info('[Webpack 2/2]: Dumping assets.');
            $this->dumper->dump();
        } else {
            $this->logger->info('[Webpack]: Cache still up-to-date.');
        }
    }
public function rebuild ( ) { if ( $ this -> tracker -> isOutdated ( ) ) { $ this -> logger -> info ( '[Webpack 1/2]: Compiling assets.' ) ; $ output = $ this -> compiler -> compile ( ) ; $ this -> logger -> debug ( $ output ) ; $ this -> logger -> info ( '[Webpack 2/2]: Dumping assets.' ) ; $ this -> dumper -> dump ( ) ; } else { $ this -> logger -> info ( '[Webpack]: Cache still up-to-date.' ) ; } }
Rebuild the cache, check to see if it's still valid and rebuild if it's outdated.
Rebuild the cache check to see if it s still valid and rebuild if it s outdated .