Skip to content

Conversation

@afadesigns
Copy link

Summary

  • debounce repository watcher reactions to avoid duplicate triggers
  • fingerprint staged paths and skip when the set has not changed
  • reset the fingerprint once the index is empty so the next staging event fires normally

Testing

  • npm run compile

Closes #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix(watcher): prevent onFilesStaged() from triggering after commit by filtering .git/index updates

1 participant