Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
add debug command to prune + reset watchman #2894
sometimes I do the following
(for root in $(watchman watch-list | jq '.roots | .'); do watchman watch-del $(echo $root | sed 's/"//g') ; done)
We need to stop using as many roots when using watchman. Once we can get the tmpdir out, we will be in a much better place to do this.
@stefanpenner just to verify the outcome of this is that watchman runs out of instances (On linux here with inotify), I can up my instance allowance or restart the server also to fix this.
Ember serve silently continues to serve the app but doesn't warn about expiration of instances.
Running the following fails:
That is what you are trying to clean up here right?
FWIW Watchman 3.1.1 also adds