gregghz / Watcher

Watcher is a daemon that watches specified files/folders for changes and fires commands in response to those changes. It is similar to incron, however, configuration uses a simpler to read yaml file instead of a plain text file. It's also written in Python, making it easier to hack.
MIT License
245 stars 128 forks source link

Adding an exclusion feature to exclude paths and files from being watched #10

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hope my code is enough clean and clear to be added in the initial code.

I had a problem with this code, the event type is not stored in the log file, then we have the file or directory path involced but not the event type. I think it's also like this on the Greggorhyhz code. I will try to add this in my watcher fork.

Sincerely

gregghz commented 11 years ago

Thanks, looks good to me

ghost commented 11 years ago

Nice, thanks for the merge :)

On Wed, Jul 24, 2013 at 5:58 PM, Greggory Hernandez < notifications@github.com> wrote:

Thanks, looks good to me

— Reply to this email directly or view it on GitHubhttps://github.com/greggoryhz/Watcher/pull/10#issuecomment-21495271 .

arctouch-shadowroldan commented 10 years ago

Is there any way to exclude folders recursively? Been playing with this and haven't managed to get it working yet.