Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chokidar doesn't notice changes inside Docker #1051

Closed
cullylarson opened this issue Dec 3, 2020 · 12 comments
Closed

Chokidar doesn't notice changes inside Docker #1051

cullylarson opened this issue Dec 3, 2020 · 12 comments

Comments

@cullylarson
Copy link

cullylarson commented Dec 3, 2020

Describe the bug

I have an app running inside docker that uses chokidar to respond to file changes. The app folder is mounted as a volume. When I make a change from the host machine (i.e. during development), chokidar doesn't notice the change. I confirmed that the file is actually changed in the container. Also, if polling is enabled, the change is noticed. And if I change the file from inside the docker container (i.e. bash into the container, modify a file), chokidar sees that change as well.

Versions:

  • Chokidar version: 3.4.3
  • Node version: v12.18.1 (also tried with v14.15.1 and v15.3.0)
  • OS version: I'm running macos on my host machine. The Docker container is running Alpine 9.2.0.

To Reproduce:

I created a repo that reproduces the issue: https://github.com/cullylarson/chokidar-watch-issue

Expected behavior

Chokidar should see changes made from the host machine to files mounted inside a Docker container.

@UchihaYuki
Copy link

Any progress on this issue?

@paulmillr
Copy link
Owner

@UchihaYuki you can start working on the issue and show some progress to us. What do you think? Can you do that?

@tmont
Copy link

tmont commented Dec 16, 2022

This has probably been fixed in recent versions of Docker. I'm using Docker for Linux and it was fixed in 4.15.0. Some more details here: docker/desktop-linux#30

@Geczy
Copy link

Geczy commented Feb 7, 2023

not fixed, still having this issue. can you show some progress please @paulmillr

@paulmillr
Copy link
Owner

@Geczy sure. Pay me.

@Geczy
Copy link

Geczy commented Feb 7, 2023

@Geczy sure. Pay me.

whats your address ill mail you a check 🥇

@paulmillr
Copy link
Owner

No checks, only crypto or github sponsorship.

@abdonrd
Copy link

abdonrd commented Apr 20, 2023

Is there any news about this? Thanks! 🙏

@Geczy
Copy link

Geczy commented Apr 20, 2023

@abdonrd sure, pay him

@sekjal
Copy link

sekjal commented Jun 29, 2023

@paulmillr do you a quote for how much money it would take to get this issue resolved?

@paulmillr
Copy link
Owner

@sekjal we can discuss in email if you have some funding, but my focus is on other libraries these days.

@paulmillr
Copy link
Owner

The backlog is going to start from zero as a preparation for v4 release. v4 would bring massive rewrite to the table and drop most dependencies. All issues are being closed as preparation for v4 release.

In the future, only issues with enough community support would be considered.

See issue 1195 for more info. Thank you.

Repository owner locked and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants