joh / when-changed

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

Feature request: Continue watching when parent directory is deleted, or throw error #52

Open jtpereyda opened 7 years ago

jtpereyda commented 7 years ago

when-changed has the extremely user friendly behavior of continuing to watch when a file is deleted and replaced. However, this does not hold if the file's directory is deleted or replaced.

If this is not feasible, raising an error would also be helpful.