Skip to content
Browse files
Fix #2740
  • Loading branch information
ralsina committed May 17, 2017
1 parent 7abdd1e commit 0f06b98493f40eac082093b525c875ad03361cfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
@@ -11,6 +11,8 @@ Features

* Ignore files ending wih "bak" (Issue #2740)

New in v7.8.5

@@ -270,7 +270,7 @@ def do_rebuild(self, event):
if (fname.endswith('~') or
fname.startswith('.') or
'__pycache__' in event_path or
event_path.endswith(('.pyc', '.pyo', '.pyd')) or
event_path.endswith(('.pyc', '.pyo', '.pyd', '_bak')) or

This comment has been minimized.

Copy link

Kwpolska May 17, 2017


Remove the underscore in case some tool does .bak too.

os.path.isdir(event_path)): # Skip on folders, these are usually duplicates
return'REBUILDING SITE (from {0})'.format(event_path))

0 comments on commit 0f06b98

Please sign in to comment.