Skip to content

Use simple-git-hooks as api? #108

Open
@mmunte-impeo

Description

@mmunte-impeo

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions