toplenboren / toplenboren/simple-git-hooks
Use simple-git-hooks as api?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
Hello
is it possible to use the simple-git-hooks as a library/api?
I would like to detect and react to branch changes on a watch mode build script (using esbuild and typechecking).
In case of branch changes, sometimes incremental builds and typechecks do not work reliably, so I would restart those. But for this i need to detect git hooks as an event/callback.
Thx!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points; start by reviewing the package's current interface and Git hook handling. Determine whether branch-change callbacks can support the esbuild and typechecking watch-mode use case, with a clear API decision and documented behavior as the completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, javascript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100