joh / when-changed

Execute a command when a file is changed
Other
1.21k stars 107 forks source link

Add exclusions #87

Closed ocervell closed 7 months ago

ocervell commented 3 years ago

This adds the ability to specify exclude paths by prefixing them with -.

Example:

when-changed -r /path/to/include -/path/to/exclude1 -/path/to/exclude2

Fix https://github.com/joh/when-changed/issues/16

ocervell commented 3 years ago

@joh

joh commented 7 months ago

@ocervell Do you plan to continue work on this PR?

ocervell commented 7 months ago

Probably not, it's been two years and I don't remember any of this :p