改名
This commit is contained in:
@@ -15,6 +15,7 @@ use Console\Console;
|
|||||||
use Console\ConsoleProviders;
|
use Console\ConsoleProviders;
|
||||||
use Database\DatabasesProviders;
|
use Database\DatabasesProviders;
|
||||||
use Exception;
|
use Exception;
|
||||||
|
use Http\Command;
|
||||||
use Http\Context\Response;
|
use Http\Context\Response;
|
||||||
use Http\Server;
|
use Http\Server;
|
||||||
use Http\ServerProviders;
|
use Http\ServerProviders;
|
||||||
@@ -226,7 +227,7 @@ class Application extends BaseApplication
|
|||||||
*/
|
*/
|
||||||
private function enableFileChange($class): void
|
private function enableFileChange($class): void
|
||||||
{
|
{
|
||||||
if (env('enableFileChange', 'off') == 'off' || !($class instanceof Server)) {
|
if (env('enableFileChange', 'off') == 'off' || !($class instanceof Command)) {
|
||||||
scan_directory(directory('app'), 'App');
|
scan_directory(directory('app'), 'App');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user