easy-deploy-bundle
easy-deploy-bundle copied to clipboard
doUpdateCode doesn't copy dot hidden files
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