I have a watch on
jq -r '.' $(ls -t | head -1)"
The goal is to apply "jq -r '.'" to the most recently modified file in directory. Unfortunately, the command used to know the last modified file is evaluated when watch is launched, but not at refresh. How should i write it, so that all of the command is reevaluated at each refresh ?