ignore directories and pyc files for changes (editors write tmp/swap
files etc., which also affects mtime of directory)
This commit is contained in:
@@ -188,7 +188,7 @@ class StatRecorder:
|
||||
self.check() # snapshot state
|
||||
|
||||
def fil(self, p):
|
||||
return p.check(dotfile=0)
|
||||
return p.check(file=1, dotfile=0) and p.ext != ".pyc"
|
||||
def rec(self, p):
|
||||
return p.check(dotfile=0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user