From 9d6b13687e0e4403523bff301adb4aae027dfdb1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 24 Aug 2021 13:04:06 +0000 Subject: [PATCH] lei: add missing LeiWatch lazy-load I'm not sure if this class will actually be needed, but we need to load it while we're using it. --- lib/PublicInbox/LEI.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index 4d5c61fe..ea3ec0fe 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -1423,6 +1423,7 @@ sub refresh_watches { ++$renames; } next if $watches->{$f}; # may be set to pause + require PublicInbox::LeiWatch; $watches->{$f} = PublicInbox::LeiWatch->new($f); $seen{$f} = undef; add_maildir_watch($cd, $cfg_f); -- 2.44.0