I can’t seem to get the glob pattern for nova.fs.watch() to work with negated patterns or multiple combined patterns. It only seems to work when it’s a single positive pattern.
I don’t see a way that I can look into the function to see why the glob pattern isn’t working. I just have to do trial and error with different patterns to see what works.
I’m trying to negation with
!, and combined patterns by surrounding in parentheses and separating by
Is it supposed to be possible to do negation and combined patterns with nova.fs.watch? Or is this an intended limitation?