This commit is contained in:
2021-11-04 17:58:56 +08:00
parent 187b4311eb
commit 2c7a755663
+2
View File
@@ -30,6 +30,8 @@ class Inotify
*/
public function start()
{
$this->process->trigger_reload();
$this->inotify = inotify_init();
$this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE;
foreach ($this->dirs as $dir) {