You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Husky hooks aren't being installed for new apps because the git repo is being initialized after dependency install
Steps to Reproduce:
blitz new myapp
Change a file
Commit the the change
Notice the pre-commit hook doesn't run
Versions:
Latest canary
Possible fix
I think we need to run git init before dependencies are installed, but then run the initial git commit after they are installed (to have the lock file in the first commit)
The text was updated successfully, but these errors were encountered:
What is the problem?
Husky hooks aren't being installed for new apps because the git repo is being initialized after dependency install
Steps to Reproduce:
blitz new myapp
Versions:
Latest canary
Possible fix
I think we need to run
git init
before dependencies are installed, but then run the initialgit commit
after they are installed (to have the lock file in the first commit)The text was updated successfully, but these errors were encountered: