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_USEPOLLING doesn't work on docker and Windows 11 #12002

Open
ghominejad opened this issue Jan 30, 2022 · 3 comments
Open

CHOKIDAR_USEPOLLING doesn't work on docker and Windows 11 #12002

ghominejad opened this issue Jan 30, 2022 · 3 comments

Comments

@ghominejad
Copy link

As some people have mentioned in #10253 CHOKIDAR_USEPOLLING doesn't work on docker and Windows 11 but the issue is closed.

/app # npm version
{
  clientspa: '0.1.0',
  npm: '8.1.2',
  node: '16.13.2',
  v8: '9.4.146.24-node.14',
  uv: '1.42.0',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.18.1',
  modules: '93',
  nghttp2: '1.45.1',
  napi: '8',
  llhttp: '6.0.4',
  openssl: '1.1.1l+quic',
  cldr: '39.0',
  icu: '69.1',
  tz: '2021a',
  unicode: '13.0',
  ngtcp2: '0.1.0-DEV',
  nghttp3: '0.1.0-DEV'
}
/app # yarn version
yarn version v1.22.15
info Current version: 0.1.0
Microsoft Windows [Version 10.0.22000.466]
@luckcfm
Copy link

luckcfm commented Feb 2, 2022

I'm on W11 and facing this problem as well.
Tried the solutions in the other post and none of them are working.

@RavenDuffy
Copy link

I'm on W11 and facing this problem as well. Tried the solutions in the other post and none of them are working.

Not sure if you've seen this but someone posted a fix here: #11879 (comment)

Worked for me!

@p4cino
Copy link

p4cino commented May 24, 2022

@ghominejad
There is a simpler solution to the hotreload problem, if using docker on windows 11 then you have WSL (e.g. Ubuntu)
Add your project there (rather than running from the windows folder) and docker-compose up. It works without any problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants