Skip to content

Commit

Permalink
Fix #2924
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Alsina committed Nov 27, 2017
1 parent ca48bdd commit 5e31392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/plugins/command/auto/__init__.py
Expand Up @@ -277,6 +277,7 @@ def run_nikola_build(self, event):
if (fname.endswith('~') or
fname.startswith('.') or
'__pycache__' in event_path or
'.git' in event_path or
event_path.endswith(('.pyc', '.pyo', '.pyd', '_bak')) or
event.is_directory): # Skip on folders, these are usually duplicates
return
Expand Down

0 comments on commit 5e31392

Please sign in to comment.