Merge pull request #427 from budziq/spurious_reloads

Do not trigger spurious watch events on Write and Remove
This commit is contained in:
Mathieu David 2017-09-07 22:45:12 +02:00 committed by GitHub
commit 276eab095c
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) |