Is it possible to know which files has been modified?
Hi Nigel, I need to reference the file(s) that has changed into the command of the task ${modified_file_path}.
Is it possible?
It could set and environment variable which you could then reference with ${ENV:modified_file_path} (I believe). I'll see if I can add it.
it looks fine if it's possible. So if it's an env variable it could be used like this %MODIFIED_FILE_PATH% on windows or $MODIFIED_FILE_PATH on linux
I don't know to be honest. I'll see what works when I add it.
it's fine
i've been using ${file} in my tasks, which i only just found out doesn't refer to the modified file, but the currently selected file. spent ages trying to figure out why my python files were being messed up only to find that it was running on the wrong file when i quickly switch tabs after making a change