Skip to content

💡[Feature]: Docker hot-reload not working reliably on Linux/WSL #766

@sheikhlimon

Description

@sheikhlimon

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

When using Docker Compose for development on Linux/WSL systems, hot-reload may not work consistently due to file system event limitations with Docker volumes.

Current Behavior

  • Changes to files don't trigger hot-reload
  • Developers need to manually restart the container
  • Reduces development experience

Use Case

Add CHOKIDAR_USEPOLLING=true to the docker-compose.yml environment variables. This enables polling-based file watching which works reliably across all systems.

Benefits

  • Reliable hot-reload on Linux/WSL/network file systems
  • Minimal performance impact
  • Standard solution used in many React/Node Docker projects

References

Add ScreenShots

No response

Priority

Low

Record

  • I have read the Contributing Guidelines
  • Are you a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions