]> git.maquefel.me Git - brevno-suite/hugo/commit
helpers: Limit verbose watch output for better readability
authormajiayu000 <1835304752@qq.com>
Tue, 30 Dec 2025 06:44:27 +0000 (14:44 +0800)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 30 Dec 2025 18:44:35 +0000 (19:44 +0100)
commitd3b5d47a4371d0cdb1aeb44e3aea1b17bbe39dab
tree2a8fc052ec7317d09d580a4f216dc267b0063d58
parent86cd1838ff81e7942db772fe98a034abab7c45b8
helpers: Limit verbose watch output for better readability

Limits the number of root groups shown in 'Watching for changes' output
to 10 maximum, with a summary message for remaining paths. This prevents
the message from becoming excessively long when watching sites with many
mount points.

Fixes #14277

Signed-off-by: majiayu000 <1835304752@qq.com>
helpers/path.go
helpers/path_test.go