We often hear how indispensable https://docs.docker.com/compose/ is as a development tool. Running docker compose up offers a streamlined experience and scales from quickly standing up a PostgreSQL database to building 50+ services across multiple platforms.
Still, concerns around slow builds and developer experience have often been a barrier towards the adoption of containers for local development.
As a result, more developers are running docker compose build && docker compose up to keep their running development environment up-to-date as they make code changes.
Unlike source code files, adding a new dependency cannot be done on the fly, so whenever package.json is changed, Compose will rebuild the image and recreate the web service container.