about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-24 01:15:14 +0000
committerEric Wong <e@80x24.org>2016-06-24 02:00:28 +0000
commit216ecf0404c79e0e4986a4717d10f6a029e4257b (patch)
tree90dcca4401cfd0c763525306f1f0d36d98b7a300 /lib/PublicInbox
parentc515264dd69156fc89c59685f788b1093afb8731 (diff)
downloadpublic-inbox-216ecf0404c79e0e4986a4717d10f6a029e4257b.tar.gz
And improve documentation for existing dependencies, too.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/WatchMaildir.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/WatchMaildir.pm b/lib/PublicInbox/WatchMaildir.pm
index 4468a448..abf1df7b 100644
--- a/lib/PublicInbox/WatchMaildir.pm
+++ b/lib/PublicInbox/WatchMaildir.pm
@@ -144,6 +144,8 @@ sub watch {
         my $cb = sub { _try_fsn_paths($self, \@_) };
         my $mdir = $self->{mdir};
 
+        # lazy load here, we may support watching via IMAP IDLE
+        # in the future...
         require Filesys::Notify::Simple;
         my $watcher = Filesys::Notify::Simple->new($mdir);
         $watcher->wait($cb) while (1);