grunt-filerev icon indicating copy to clipboard operation
grunt-filerev copied to clipboard

add `overwrite` option

Open TonyStarkBy opened this issue 9 years ago • 3 comments

In some cases we don't want copy file if it exists (to save file mtime)

TonyStarkBy avatar Mar 30 '16 12:03 TonyStarkBy

force is probably better here than overwrite but I'm fine with either

eddiemonge avatar Mar 30 '16 14:03 eddiemonge

Why "force"? By default it will work like current version - overwrite file every time when you run task.

TonyStarkBy avatar Mar 30 '16 14:03 TonyStarkBy

Actually, the check should probably be there anyway. Seems like a bug that it overwrites the file that is exactly the same

eddiemonge avatar Mar 31 '16 15:03 eddiemonge