public function runAndReload()
    {

        // start supervisor and reload configuration
        $commands = [];
        $commands[] = sprintf(' && %s', $this->createSupervisorControlCommand('reread'));
        $commands[] = sprintf(' && %s', $this->createSupervisorControlCommand('update'));
        $this->run(implode('', $commands));
    }
public function runAndReload()
    {

        // start supervisor and reload configuration
        $commands = [];
        $commands[] = sprintf(' && %s', $this->createSupervisorControlCommand('reread'));
        $commands[] = sprintf(' && %s', $this->createSupervisorControlCommand('update'));
        $this->run(implode('', $commands));
    }
public function runAndReload ( ) { // start supervisor and reload configuration $ commands = [ ] ; $ commands [ ] = sprintf ( ' && %s' , $ this -> createSupervisorControlCommand ( 'reread' ) ) ; $ commands [ ] = sprintf ( ' && %s' , $ this -> createSupervisorControlCommand ( 'update' ) ) ; $ this -> run ( implode ( '' , $ commands ) ) ; }
Update configuration and processes
Update configuration and processes