改名
This commit is contained in:
@@ -229,7 +229,9 @@ class Application extends BaseApplication
|
||||
private function enableFileChange(Command $class, $input, $output): void
|
||||
{
|
||||
fire(new OnBeforeCommandExecute());
|
||||
scan_directory(directory('app'), 'App');
|
||||
if (!($class instanceof FileChangeCustomProcess)) {
|
||||
scan_directory(directory('app'), 'App');
|
||||
}
|
||||
if ($class instanceof ServerCommand) {
|
||||
$this->getRouter()->read_files();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user