protected function reParse(IOInterface $io, InputInterface $input, ResourceWatcher $rw)
    {
        $rw->findChanges();

        if ($rw->hasChanges() === false) {
            return;
        }

        $this->rebuildingSiteMessage($io, $rw->getNewResources(), $rw->getUpdatedResources(), $rw->getDeletedResources());

        $spress = $this->buildSpress($io, $input);
        $resultData = $spress->parse();

        $this->resultMessage($io, $resultData);
    }
protected function reParse(IOInterface $io, InputInterface $input, ResourceWatcher $rw)
    {
        $rw->findChanges();

        if ($rw->hasChanges() === false) {
            return;
        }

        $this->rebuildingSiteMessage($io, $rw->getNewResources(), $rw->getUpdatedResources(), $rw->getDeletedResources());

        $spress = $this->buildSpress($io, $input);
        $resultData = $spress->parse();

        $this->resultMessage($io, $resultData);
    }
protected function reParse ( IOInterface $ io , InputInterface $ input , ResourceWatcher $ rw ) { $ rw -> findChanges ( ) ; if ( $ rw -> hasChanges ( ) === false ) { return ; } $ this -> rebuildingSiteMessage ( $ io , $ rw -> getNewResources ( ) , $ rw -> getUpdatedResources ( ) , $ rw -> getDeletedResources ( ) ) ; $ spress = $ this -> buildSpress ( $ io , $ input ) ; $ resultData = $ spress -> parse ( ) ; $ this -> resultMessage ( $ io , $ resultData ) ; }
Reparses a site.

@param IOInterface     $io    The Spress IO
@param InputInterface  $input The Symfony Console input
@param ResourceWatcher $rw    The ResourceWatcher
Reparses a site .