Browse Source

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

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
717f2112bb
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/cmd/serve.rs

+ 3
- 1
src/cmd/serve.rs View File

@@ -390,7 +390,9 @@ pub fn serve(
}
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() {
continue;
}


Loading…
Cancel
Save