Created
April 22, 2016 22:38
-
-
Save kaave/33ab4807d18a73be2cd4c9ef086cceb0 to your computer and use it in GitHub Desktop.
Vagrant rsync setting for Phoenix Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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