How to exclude multiple directories
Closed this issue · 1 comments
mcjansen commented
I heared about Blitz in the Ruby Rogues podcast and are giving it a try now.
I want to exclude multiple directories.
In docker-sync I would specify that as:
sync_excludes: ['.git/', 'log', 'tmp']
I am using the UNISON_OPTS environment variable to specify three directories:
environment:
# Set additional unison flags
- UNISON_OPTS=-ignore "Path tmp" -ignore "Path log" -ignore "Path .git"
After restarting Blitz log files are still synced. Changes in git are also synced. It looks like only changes in tmp are nog picked up.
Any idea why this is happening?
mcjansen commented
I also tried the Name option. Unfortunately that doesn't work either:
- UNISON_OPTS=-ignore "Name {log,tmp,.git}"