From 78bf92d9379073b220bf4b7b4d0dd2b0886ea2e9 Mon Sep 17 00:00:00 2001 From: Dan Ko Date: Thu, 31 Aug 2023 16:06:24 -0400 Subject: [PATCH] fix hot reload in docker --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index fbbcc4e4..4560cd1c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,11 @@ services: - 5555:5555 depends_on: - db + environment: + - WATCHPACK_POLLING=true + volumes: + - .:/usr/src/app + - /usr/src/app/node_modules db: container_name: db image: postgres:latest