Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #2055 for .py[cod], too
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 12, 2015
1 parent 82f474f commit 1a2f1b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/plugins/command/auto/__init__.py
Expand Up @@ -263,6 +263,7 @@ def do_rebuild(self, event):
if (fname.endswith('~') or
fname.startswith('.') or
'__pycache__' in event_path or
'.pyc' in event_path or '.pyo' in event_path or '.pyd' in event_path or
os.path.isdir(event_path)): # Skip on folders, these are usually duplicates
return
self.logger.info('REBUILDING SITE (from {0})'.format(event_path))
Expand Down

0 comments on commit 1a2f1b5

Please sign in to comment.