hwatch
Modern alternative to the watch command with diff history
TLDR
SYNOPSIS
hwatch [-n interval] [-c] [-d] [-A command] [-b] command
DESCRIPTION
hwatch is a modern alternative to the watch command that records the differences in execution results and allows you to review this history afterward. It provides a TUI with the ability to scroll through previous outputs, search and filter history, and highlight differences between runs.
Key features include color mode support, regex filtering of history with / and \* keys, change detection with the -A option (which stores change information as JSON in the HWATCH_DATA environment variable), and the ability to output diffs directly to stdout with -b instead of using the TUI.
CAVEATS
History is stored in memory and does not persist across restarts. Very frequent intervals with large outputs may consume significant memory.
HISTORY
hwatch was created by blacknon and is written in Rust. It was designed to address limitations of the traditional watch command, particularly the inability to review or compare previous outputs.
SEE ALSO
watch(1)

