Docker Watch: Live Reloading for Fast Dev

前言 / Introduction If you’re tired of rebuilding Docker images every time you change a file — it’s time to watch. 如果你跟我一樣,總是在開發的過程中,深陷 rebuild 的迴圈中,那一定要試試 — Watch 。 What’s --watch, and Why Should I Care? In Docker Compose v2.24+, you can now use --watch to: Detect file changes Rebuild or sync files automatically Avoid restarting manually every. single. time. It’s like having a mini hot-reload system for your containers — perfect for fast iteration. ...

May 15, 2025 · 2 min · 409 words · Daniel Ho