Skip to content

Instantly share code, notes, and snippets.

Created Apr 8, 2015
What would you like to do?
When Error: watch EMFILE strikes (OS X)
This requires `brew install jq` which is a command json query.
I got this from @krisselden
(for root in $(watchman watch-list | jq -r '.roots | .[]'); do watchman watch-del "$root" ; done)
Copy link

flynsequeira commented Aug 5, 2017

I get this while running that particular code on /bin/sh
parse error: Invalid numeric literal at line 1, column 7

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