]> Sergey Matveev's repositories - public-inbox.git/commit
lei: auto-refresh watches in config, cancel missing
authorEric Wong <e@80x24.org>
Wed, 21 Jul 2021 14:07:06 +0000 (14:07 +0000)
committerEric Wong <e@80x24.org>
Thu, 22 Jul 2021 02:29:01 +0000 (02:29 +0000)
commita1539672716f91acc67397a1a7d16e99df068931
treed6390fd87fbc107523591a1840937b30c58c707d
parent5b4fde37adefa37508d131dbe013353ef3345051
lei: auto-refresh watches in config, cancel missing

This makes behavior less surprising on restarts as we no longer
lose state on restarts, so there's no need to manually run "lei
add-watch" to re-enable watches.  This also allows us to
transparently handle changes if somebody edits the lei config
file directly or via git-config(1).
lib/PublicInbox/DirIdle.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiNoteEvent.pm
t/lei-watch.t