php start.php start -d

jenchih

我发现生产环境 使用 php start.php start -d后,更新文件,不用reload,也会更新文件,这是为何

这里写问题描述

config/app.php
return [
    'debug'             => getenv('APPDEBUG'),
    'error_reporting'   => E_ALL,
    'default_timezone'  => 'Asia/Shanghai',
    'request_class'     => Request::class,
    'public_path'       => base_path() . DIRECTORY_SEPARATOR . 'public',
    'runtime_path'      => base_path(false) . DIRECTORY_SEPARATOR . 'runtime',
    'controller_suffix' => 'Controller',
    'controller_reuse'  => false,
];

.env
APPDEBUG  = 0
622 1 0
1个回答

walkor

https://www.workerman.net/doc/webman/others/monitor.html
是否开启文件监控最终看 config/process.phpoptions.enable_memory_monitor的值

  • 暂无评论
🔝