111
This commit is contained in:
@@ -237,6 +237,8 @@ class Application extends BaseApplication
|
|||||||
fire(new OnBeforeCommandExecute());
|
fire(new OnBeforeCommandExecute());
|
||||||
if (!($class instanceof ServerCommand)) {
|
if (!($class instanceof ServerCommand)) {
|
||||||
scan_directory(directory('app'), 'App');
|
scan_directory(directory('app'), 'App');
|
||||||
|
} else if (!is_enable_file_modification_listening()) {
|
||||||
|
scan_directory(directory('app'), 'App');
|
||||||
}
|
}
|
||||||
$class->run($input, $output);
|
$class->run($input, $output);
|
||||||
$output->writeln('ok' . PHP_EOL);
|
$output->writeln('ok' . PHP_EOL);
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ class ServerCommand extends Command
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws \Kiri\Exception\ConfigException
|
||||||
|
*/
|
||||||
private function configure_set()
|
private function configure_set()
|
||||||
{
|
{
|
||||||
$enable_coroutine = Config::get('servers.settings.enable_coroutine', false);
|
$enable_coroutine = Config::get('servers.settings.enable_coroutine', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user