Do not trigger spurious watch events on Write and Remove

This commit is contained in:
Michal Budzynski 2017-09-06 22:33:56 +02:00
parent 6bc3039b4f
commit 570ce6681f
1 changed files with 0 additions and 2 deletions

View File

@ -98,8 +98,6 @@ pub fn trigger_on_change<F>(book: &mut MDBook, closure: F) -> ()
match rx.recv() {
Ok(event) => {
match event {
NoticeWrite(path) |
NoticeRemove(path) |
Create(path) |
Write(path) |
Remove(path) |