grunt icon indicating copy to clipboard operation
grunt copied to clipboard

Why is grunt precommit not detecting changes files, but all?

Open Rain120 opened this issue 6 years ago • 3 comments

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.

image

image

Thx for you watching and giving me some suggest.

Rain120 avatar Apr 09 '19 03:04 Rain120

I would suggest adding a grunt-contrib-watch plugin and watch newer: files in separated task.

Falcikas avatar Dec 16 '20 10:12 Falcikas

@Falcikas Jesus,so long to get the idea for the project, srr, I had lost it, I cannot test for it.

Rain120 avatar Dec 21 '20 12:12 Rain120

Ok so issue is closed?

Falcikas avatar Dec 21 '20 13:12 Falcikas