Skip to content

Commit c320473

Browse files
author
Julien Neuhart
committed
Add comments for CHOKIDAR environment variables in docker-compose.yml
1 parent 54784fb commit c320473

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ services:
3434
# Docker image.
3535
STARTUP_COMMAND_1: "yarn install"
3636
# Nuxt.js
37+
# Either Vagrant or Docker requires the usage of polling, otherwise Nuxt.js does not recompile our code
38+
# as fast as we would like.
3739
CHOKIDAR_USEPOLLING: "1"
38-
CHOKIDAR_INTERVAL: "1000"
40+
CHOKIDAR_INTERVAL: "1000" # Lower values might increase CPU usage.
3941
# Host 0.0.0.0 is designated to tell Nuxt.js to resolve a host address, which is accessible to connections outside
4042
# of the host machine.
4143
HOST: "0.0.0.0"

0 commit comments

Comments
 (0)