Skip to content

Watching For File Changes Server Reloading Crash #105

@bdlogicalerror

Description

@bdlogicalerror
  • Octane Version: 0.1.0
  • Laravel Version: 8.12
  • PHP Version: 8.0.3
  • Database Driver & Version:

Description:

After changes any file Server Crash And Too few arguments to function Laravel\Octane\RoadRunner\ServerProcessInspector::reloadServer(), 0 passed

i figure out the solution octane/src/Commands/Concerns/InteractsWithServers.php on line 54 need to pass any slug.

` while ($server->isRunning()) {
$this->writeServerOutput($server);

            if ($watcher->isRunning() &&
                $watcher->getIncrementalOutput()) {
                $this->info('Application change detected. Restarting workers…');

                $inspector->reloadServer('/');
            }

            usleep(500 * 1000);
        }`

Steps To Reproduce:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions