Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hooks break committing/pushing #1345

Open
johnnybubonic opened this issue Jan 25, 2018 · 0 comments
Open

hooks break committing/pushing #1345

johnnybubonic opened this issue Jan 25, 2018 · 0 comments

Comments

@johnnybubonic
Copy link

When trying to use this hook to automatically render documentation, there is a VERY long delay - something like 5-10s - when the hook script should only take about 1.5s or less to run (as it does when using commandline git commands).

This delay seems to occur whether it's a pre-commit or a pre-push.

I get the following:

Error: cmd-spawn-timeout: git commit -m COMMIT_MSG_HERE

but the hook does run. However, brackets' git integration from that point on seems broken, and drastically so. if it's a pre-commit hook, the rendered files, which should be included IN the commit for pre-commit hooks, are marked as new modifications. it seems they are being staged AFTER the commit, not BEFORE (where pre-commit hooks should be indexing/staging adds.)

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

No branches or pull requests

1 participant