Skip to content

Add a --no-watch flag to disable filesystem watching #5

@Divyam-Chauhan

Description

@Divyam-Chauhan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions