Location: crates/hx-lens/src/watch.rs:Watch
What is hacky: Polls mtimes of tracked files; no new-file discovery and no notify dependency.
Proper fix: Use the notify crate with directory watches so new and deleted files are seen.
Original comment: "ponytail: mtime polling of tracked files only (no notify dependency, no new-file discovery). Switch to notify if tracking whole trees becomes necessary."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
Location: crates/hx-lens/src/watch.rs:Watch
What is hacky: Polls mtimes of tracked files; no new-file discovery and no `notify` dependency.
Proper fix: Use the `notify` crate with directory watches so new and deleted files are seen.
Original comment: "ponytail: mtime polling of tracked files only (no `notify` dependency, no new-file discovery). Switch to `notify` if tracking whole trees becomes necessary."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes
added the lens label 2026-11-21 12:36:55 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Location: crates/hx-lens/src/watch.rs:Watch
What is hacky: Polls mtimes of tracked files; no new-file discovery and no
notifydependency.Proper fix: Use the
notifycrate with directory watches so new and deleted files are seen.Original comment: "ponytail: mtime polling of tracked files only (no
notifydependency, no new-file discovery). Switch tonotifyif tracking whole trees becomes necessary."Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).