We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28ef158 commit 188f6afCopy full SHA for 188f6af
src/command/Worker.php
@@ -112,7 +112,7 @@ public function execute(Input $input, Output $output)
112
// 设置文件监控
113
if (DIRECTORY_SEPARATOR !== '\\' && (App::isDebug() || !empty($this->config['file_monitor']))) {
114
$interval = $this->config['file_monitor_interval'] ?? 2;
115
- $paths = $this->config['file_monitor_path'] ?? [App::getAppPath(), App::getConfigPath()];
+ $paths = !empty($this->config['file_monitor_path']) ? $this->config['file_monitor_path'] : [App::getAppPath(), App::getConfigPath()];
116
$worker->setMonitor($interval, $paths);
117
unset($this->config['file_monitor'], $this->config['file_monitor_interval'], $this->config['file_monitor_path']);
118
}
0 commit comments