Skip to content

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

Description

@ghominejad

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]

Activity

  1. luckcfm commented on Feb 2, 2022

    @luckcfm

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

  2. RavenDuffy commented on Mar 26, 2022

    @RavenDuffy

    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!

  3. p4cino commented on May 24, 2022

    @p4cino

    @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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions