This commit is contained in:
as2252258@163.com
2021-02-28 17:51:19 +08:00
parent 698281aee6
commit 8023e4d3bf
+3
View File
@@ -43,6 +43,9 @@ class ServerInotify extends Process
if (extension_loaded('inotify')) {
$this->inotify = inotify_init();
$this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE;
var_dump($this->dirs);
foreach ($this->dirs as $dir) {
$this->watch($dir);
}