Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doUpdateCode doesn't copy dot hidden files #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SebastienTainon
Copy link

Currently in the DefaultDeployer, this line:
cp -RPp {{ deploy_dir }}/repo/* {{ project_dir }}

does not copy the dot files that belong to the repo directory (for example .babelrc in my case is not copied).

Changing it by cp -RPp {{ deploy_dir }}/repo/. {{ project_dir }} makes it copy all the files, including the dot files.
See reference here: https://superuser.com/questions/61611/how-to-copy-with-cp-to-include-hidden-files-and-hidden-directories-and-their-con

Currently in the DefaultDeployer, this line:
```cp -RPp {{ deploy_dir }}/repo/* {{ project_dir }}```

does not copy the dot files that belong to the `repo` directory (for example .babelrc in my case is not copied).

Changing it by `cp -RPp {{ deploy_dir }}/repo/. {{ project_dir }}` makes it copy all the files, including the dot files.
See reference here: https://superuser.com/questions/61611/how-to-copy-with-cp-to-include-hidden-files-and-hidden-directories-and-their-con
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant