fix: use polling for chokidar when running under docker #3033

Merged
Sainan merged 2 commits from docker-chokidar-fix into main 2025-11-15 00:26:33 -08:00
Showing only changes of commit acbb86f452 - Show all commits

View File

@@ -12,8 +12,10 @@ services:
# Normally, the image is fetched from Docker Hub, but you can use the local Dockerfile by removing "image" above and adding this:
#build: .
# Works best when using `docker-compose up --force-recreate --build`.
# Works best when using `docker compose up --force-recreate --build`.
environment:
- CHOKIDAR_USEPOLLING=true
depends_on:
- mongodb
mongodb: