joh/when-changed

Allow wildcards/patterns as FILE argument

atypic opened this issue · 5 comments

Example: when-changed *.tex xelatex %f

joh commented

This is already supported if you use -c:

when-changed *.tex -c xelatex %f

awesome!

The code when-changed *.tex -c xelatex %f works fine but I want to ask how to do the same for let's say *.tex files inside a certain directory and all its folders? Thank you.

joh commented

@acrolink Issue #16 is a related feature request, but is about excluding files.

Wildcard/pattern support isn't described in --help and README outputs (v0.3.0).
Also, it would be interesting to have support for glob patterns, something like a -g option, similar to how ripgrep globs work (exclusion would be possible by preceding the glob with a !).