I have a Gruntfile.js that I configured in the VS2015 through Task Runned Explorer to run Before Build. I need to add a new task in this Gruntfile, in this new task I should compare the DateLastModified of the 2 files in the project and in case are different I should run the specific .tt files in the project. How can I acquire this?
In other projects I applied the solution described in this question : https://stackoverflow.com/a/3381556/5816699
But since I could have several dozens or hundreds of .tt files in the project, could be a little aggressive compiling the project. And I just run specific .tt files from the grunfile. Thanks in advance.