What to do: Add a CLI flag that disables the watchdog filesystem watcher, making GitPulse rely purely on its timed refresh loop. Useful on systems where watchdog has issues.
Files: main.py
- Add
--no-watch boolean argument to parse_args()
- Conditionally skip
watcher.start() and watcher.has_changes() based on the flag
Why beginner-friendly: It's just wrapping two existing lines in an if statement. No new modules or complex logic.
What to do: Add a CLI flag that disables the
watchdogfilesystem watcher, making GitPulse rely purely on its timed refresh loop. Useful on systems wherewatchdoghas issues.Files: main.py
--no-watchboolean argument toparse_args()watcher.start()andwatcher.has_changes()based on the flagWhy beginner-friendly: It's just wrapping two existing lines in an
ifstatement. No new modules or complex logic.