Skip to content
Browse files


  • Loading branch information
ralsina committed Dec 4, 2017
1 parent 4920fb6 commit 285c12b7f8899e3e30450ff8f629970dad4e025b
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/auto/
@@ -277,7 +277,7 @@ def run_nikola_build(self, event):
fname = os.path.basename(event_path)
is_hidden = os.stat('filename').st_file_attributes & stat.FILE_ATTRIBUTE_HIDDEN
has_hidden_component = any(p.startswith('.') for p in event_path.split(os.sep))
if (is_hidden or has_hidden_parent or
if (is_hidden or has_hidden_component or
'__pycache__' in event_path or
event_path.endswith(('.pyc', '.pyo', '.pyd', '_bak', '~')) or
event.is_directory): # Skip on folders, these are usually duplicates

0 comments on commit 285c12b

Please sign in to comment.
You can’t perform that action at this time.