Skip to content

Commit 32bfa69

Browse files
centdixclaude
andcommitted
chore: restore backend/.env copy in worktree setup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 446afb5 commit 32bfa69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/worktree-common.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ wm_copy_dependencies() {
6565
local repo_root=$1
6666
local main_repo_root=$2
6767

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+
6873
if [[ -d "${main_repo_root}/frontend/node_modules" ]]; then
6974
cp -a "${main_repo_root}/frontend/node_modules" "${repo_root}/frontend/"
7075
echo "Copied frontend/node_modules (with symlinks preserved)"

0 commit comments

Comments
 (0)