Skip to content

Instantly share code, notes, and snippets.

@kaave
Created April 22, 2016 22:38
Show Gist options
  • Save kaave/33ab4807d18a73be2cd4c9ef086cceb0 to your computer and use it in GitHub Desktop.
Save kaave/33ab4807d18a73be2cd4c9ef086cceb0 to your computer and use it in GitHub Desktop.
Vagrant rsync setting for Phoenix Framework
Vagrant.configure(2) do |config|
config.vm.synced_folder './sync',
'/var/sync',
type: 'rsync',
# 標準の設定から[--delete]のみ除外
rsync__args: ['--verbose', '--archive', '-z', '--copy-links'],
rsync__exclude: ['.DS_Store', '.git/', 'deps/', '_build/', 'node_modules/']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment