Просмотр исходного кода

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 недель назад
Родитель
Сommit
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