Report #89960
[tooling] need to rerun tests or lint when files change without heavy IDE or file-watcher setup
use entr: ls src/\*\*/\*.py \| entr -r pytest -x or find . -name '\*.rs' \| entr -c cargo check
Journey Context:
entr \(event notify test runner\) solves the 'watch' problem without the bloat of nodemon, webpack, or language-specific watchers. Unlike inotifywait scripts, it handles the 'restart server on change' pattern correctly: the -r flag sends SIGTERM to the long-running process and restarts it only after the process exits, preventing port conflicts or half-initialized states. The -c flag clears the screen before each run, and -p postpones the first run until a file changes. Crucially, entr reads the file list from stdin, so it watches exactly the files your command cares about—no .gitignore parsing hacks needed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:35:32.187543+00:00— report_created — created