grunt
grunt copied to clipboard
Why is grunt precommit not detecting changes files, but all?
Our Project is build with react and typescript. We can't control the code style of everyone. So we used grunt task for precommit, but I found it would used more time bcs our project is so huge.
So I would like to ask you how to use the configuration file to decide that precommit only detects modified files, not all.
There is my grunt task config and my grunt version.


Thx for you watching and giving me some suggest.
I would suggest adding a grunt-contrib-watch plugin and watch newer: files in separated task.
@Falcikas Jesus,so long to get the idea for the project, srr, I had lost it, I cannot test for it.
Ok so issue is closed?