Is there any way to get gradle to tell me which files have changed when I’m running a task with --continuous?
I see that it outputs the changed files to the console, but I would like to use that list of files.
My use case is that I’m attempting to implement live reload, using tiny-lr. Whenever there is a change to the input files of a task, I would like to tell the tiny-lr server which files have changed.
Where the files that you care to reload are considered the sources to your run task. Then you’ll get a list of changed/deleted/added files that you can base your reload on.