Skip to content

Commit

Permalink
Don’t look for changs in my __pycache__
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Sep 10, 2015
1 parent fffc766 commit 20c814b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/plugins/command/auto/__init__.py
Expand Up @@ -262,6 +262,7 @@ def do_rebuild(self, event):
fname = os.path.basename(event_path)
if (fname.endswith('~') or
fname.startswith('.') or
'__pycache__' 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 20c814b

Please sign in to comment.