We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 446afb5 commit 32bfa69Copy full SHA for 32bfa69
scripts/worktree-common.sh
@@ -65,6 +65,11 @@ wm_copy_dependencies() {
65
local repo_root=$1
66
local main_repo_root=$2
67
68
+ if [[ -f "${main_repo_root}/backend/.env" ]]; then
69
+ cp "${main_repo_root}/backend/.env" "${repo_root}/backend/"
70
+ echo "Copied backend/.env"
71
+ fi
72
+
73
if [[ -d "${main_repo_root}/frontend/node_modules" ]]; then
74
cp -a "${main_repo_root}/frontend/node_modules" "${repo_root}/frontend/"
75
echo "Copied frontend/node_modules (with symlinks preserved)"
0 commit comments