astral-sh / astral-sh/ruff

Real-time code changes cannot be detected in Docker. (--watch)

Open
#3,929 14 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
49.6k
Forks
2.4k
Avg merge
2d 1h
Merged PRs (30d)
445

Description

Summary: Ruff check --watch not working under Docker

Detailed information: I am developing using Docker+Poetry+Python, but I found the ruff check --watch mode does not detect file changes in real time when running under Docker.

Reproduction steps: Create a container image based on python:3.11-bullseye and run it in sleep infinity mode, use ruff check --watch to detect code changes in real time.

Version information: Ruff 0.0.261, Python 3.11-bullseye.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `ruff check --watch` in a `python:3.11-bullseye` container, using the reported Ruff 0.0.261 setup, and compare file-change behavior with a non-container run. Done means changes to the watched source are detected in real time under Docker.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.