Merge pull request #1776 from guanidene/master

Watch for changes in mtime of symlinked folders and files too
This commit is contained in:
Justin Mayer 2015-07-04 07:56:43 -07:00
commit 2332563bda

View file

@ -576,7 +576,7 @@ def folder_watcher(path, extensions, ignores=[]):
def file_times(path):
'''Return `mtime` for each file in path'''
for root, dirs, files in os.walk(path):
for root, dirs, files in os.walk(path, followlinks=True):
dirs[:] = [x for x in dirs if not x.startswith(os.curdir)]
for f in files: