Exclude temporary file changes from FileWatcher (#945)
This commit is contained in:
parent
4cdff14c7c
commit
316e177c1d
@ -164,7 +164,7 @@ public class FileWatcher {
|
||||
String fileName = context.toString();
|
||||
|
||||
// ignore temporary changes
|
||||
if (fileName.endsWith(".tmp")) {
|
||||
if (fileName.endsWith(".tmp") || fileName.endsWith(".swp") || fileName.endsWith(".swx") || fileName.endsWith(".swpz")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user