Skip to content

Commit

Permalink
Merge pull request #92 from MichaelAquilina/fix_daemon
Browse files Browse the repository at this point in the history
Ignore changes to .s4lock when running the daemon command
  • Loading branch information
MichaelAquilina committed Nov 1, 2017
2 parents bdb67d5 + a9df011 commit f0840ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s4/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def daemon_command(args, config, logger, terminator=lambda x: False):
target = watch_map[event.wd]

# Dont bother running for .index
if event.name != '.index':
if event.name not in ('.index', '.s4lock'):
to_run[target].add(event.name)

for target, keys in to_run.items():
Expand Down

0 comments on commit f0840ff

Please sign in to comment.