e
This commit is contained in:
@@ -50,7 +50,16 @@ class Command extends \Console\Command
|
|||||||
if ($dtl->get('action') == 'stop') {
|
if ($dtl->get('action') == 'stop') {
|
||||||
return 'shutdown success.';
|
return 'shutdown success.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->generate_runtime_builder();
|
||||||
|
|
||||||
return $manager->start();
|
return $manager->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private function generate_runtime_builder()
|
||||||
|
{
|
||||||
|
exec(PHP_BINARY . ' snowflake runtime:builder');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ class ServerInotify extends Process
|
|||||||
$this->inotify = inotify_init();
|
$this->inotify = inotify_init();
|
||||||
$this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE;
|
$this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE;
|
||||||
}
|
}
|
||||||
exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user