Hi i'm trying to integrate husky into my process and i can't find a way to make it work with Jest watchman.
My setup:
On root level
.husky/pre-push
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run test
On package.json
"scripts": {
"test": "cd packages/frontend && node scripts/test.js --watchAll",
"prepare": "husky install"
},
Now i run git push and husky does work by running npm run test but i can't exit the cli.

I've been searching google and most people seem to config husky in package.json instead of a husky directory but the official docs does this way.
Any idea how to resolve this issue ?