소스 검색

Add explicit container restart after update

docker compose up -d doesn't restart containers when only mounted
volume files change. Adding explicit restart ensures the new code
is picked up after git pull.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tuanchris 4 주 전
부모
커밋
69e68fbd15
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      dw

+ 1 - 0
dw

@@ -142,6 +142,7 @@ cmd_update() {
 
         echo "Restarting with new version..."
         sudo docker compose up -d --quiet-pull
+        sudo docker compose restart
     else
         echo "Updating Python dependencies..."
         source .venv/bin/activate