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

test-watch is broken #269

Closed
tizmagik opened this issue Oct 24, 2016 · 2 comments
Closed

test-watch is broken #269

tizmagik opened this issue Oct 24, 2016 · 2 comments

Comments

@tizmagik
Copy link
Contributor

tizmagik commented Oct 24, 2016

Fresh checkout of kyt and then npm run test-watch gives an error:

2016-10-24 14:45 node[97090] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null)
 (-22)
2016-10-24 14:45 node[97090] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null)
 (-22)
2016-10-24 14:45 node[97090] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null)
 (-22)
events.js:160

      throw er; // Unhandled 'error' event
      ^

Error: Error watching file for changes: EMFILE
    at exports._errnoException (util.js:1012:11)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)

This seems to also happen in projects using kyt#master.

@tizmagik tizmagik added the bug label Oct 24, 2016
@hanbzu
Copy link

hanbzu commented Oct 26, 2016

I'm experiencing the same issue with a completely different repository based on create-react-app. Could it be a Webpack thing?

@tizmagik
Copy link
Contributor Author

Thanks @hanbzu yea, it looks like it's actually an issue in Jest/Watchman:

jestjs/jest#1767

Apparently, uninstalling or reinstalling Watchman fixes the issue for some folks.

I'll leave this issue open to track the upstream issue.

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

No branches or pull requests

2 participants