Skip to content

Watch mode is very slow #543

Description

@dorshinar

What happened?

When running hunk with hunk diff --watch it becomes very slow, to the point of not responding while files are being edited.

Steps to reproduce

  1. Run hunk diff --watch
  2. Edit file (manually/via an agent)

Hunk becomes unbearably slow - not responding to clicks, scroll, diffs not loading

Expected behavior

Hunk remains smooth while watching for changes :)

Version

0.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions