Add chmod to list of events on which to rebuild on serve

This commit is contained in:
Vincent Prouillet 2019-05-27 19:51:33 +02:00
parent bada9ab93f
commit 717f2112bb

View file

@ -390,7 +390,9 @@ pub fn serve(
} }
console::report_elapsed_time(start); console::report_elapsed_time(start);
} }
Create(path) | Write(path) | Remove(path) => { // Intellij does weird things on edit, chmod is there to count those changes
// https://github.com/passcod/notify/issues/150#issuecomment-494912080
Create(path) | Write(path) | Remove(path) | Chmod(path) => {
if is_temp_file(&path) || path.is_dir() { if is_temp_file(&path) || path.is_dir() {
continue; continue;
} }