Skip to content

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