Skip to content

Commit fa1a151

Browse files
Joshua FishmanJoshua Fishman
authored andcommitted
Docker: improve Sass watch reliability with polling and delegated volume
1 parent be07fdb commit fa1a151

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ services:
22
mkdocs:
33
build: .
44
volumes:
5-
- .:/docs
5+
- .:/docs:delegated
66
- /docs/node_modules # Persist node_modules for faster subsequent builds
77
ports:
88
- "8000:8000"
99
- "35729:35729"
1010
stdin_open: true
1111
tty: true
12+
environment:
13+
- CHOKIDAR_USEPOLLING=1
14+
- CHOKIDAR_INTERVAL=300
1215
# Use container entrypoint to run processes

0 commit comments

Comments
 (0)