jestjs / jest

Delightful JavaScript Testing.
https://jestjs.io
MIT License
44.22k stars 6.46k forks source link

--watch hangs on Windows in specific repos #9880

Closed tom-sherman closed 1 year ago

tom-sherman commented 4 years ago

🐛 Bug Report

I cannot get the --watch mode to work on specific repos on my Windows machine. Running jest works fine, but jest --watch hangs without producing any output.

To Reproduce

This happens for me with the Reakit repo when using yarn or npm.

Steps to reproduce the behavior:

  1. Clone https://github.com/reakit/reakit
  2. yarn/npm i to install dependencies
  3. yarn test --watch/npx jest --watch/npm test -- --watch (all same behaviour)

Expected behavior

Enter watch mode.

Link to repl or repo (highly encouraged)

Clone Reakit and run the tests in watch mode

envinfo

  System:
    OS: Windows 10 10.0.19041
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz  
  Binaries:
    Node: 12.13.1 - C:\Program Files\nodejs\node.EXE       
    Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.12.1 - C:\Program Files\nodejs\npm.CMD
github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.