Skip to content
Permalink
Browse files

Don’t look for changs in my __pycache__

  • Loading branch information
da2x committed Sep 10, 2015
1 parent fffc766 commit 20c814ba5ff0617490659cc98ef65cdc6e32262c
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/plugins/command/auto/__init__.py
@@ -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))

0 comments on commit 20c814b

Please sign in to comment.