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