Преглед изворни кода

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..."
         echo "Restarting with new version..."
         sudo docker compose up -d --quiet-pull
         sudo docker compose up -d --quiet-pull
+        sudo docker compose restart
     else
     else
         echo "Updating Python dependencies..."
         echo "Updating Python dependencies..."
         source .venv/bin/activate
         source .venv/bin/activate