This commit is contained in:
2020-09-03 01:32:44 +08:00
parent ab74fefc7c
commit 9a40f0b7ad
+2 -1
View File
@@ -76,10 +76,11 @@ class ServerInotify extends Process
{
$path = rtrim($path, '/');
foreach (glob($path . '/*') as $value) {
$md5 = md5($value);
if (is_dir($value)) {
$this->loadByDir($value);
continue;
}
$md5 = md5($value);
if (!isset($this->md5Map[$md5])) {
$this->debug('not hav ' . $value);
return $this->reload();