-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Temporary files should be stored in ~/LIbrary/Caches or elsewhere, not ~/.rncache #21780
Comments
I mean this seems to be a good point, and to not pollute the home directory. Why did you close the issue? |
Reopened I don't remember why I closed it, probably looked at the number of already open issues/PRs and thought nobody would care about such a small thing |
We are automatically closing this issue because it does not appear to follow any of the provided issue templates. Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library. If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose. |
I filled the template but I don't know how to reopen, sorry |
Maybe let's ping @hramos? |
Another suggestion is using |
In this case, I think it's best to just send a PR. |
Instead of using ~/.rncache use the special Caches directory designed for caching files. This fixes facebook#21780.
I opened a pull request, please review: #22688 |
…2688) Summary: Instead of using ~/.rncache use the special Caches directory designed for caching files. This fixes #21780. Changelog: ---------- [iOS] [Changed] - Moved iOS build cache directory from ~/.rncache to ~/Library/Caches/com.facebook.ReactNativeBuild Pull Request resolved: #22688 Differential Revision: D13817171 Pulled By: cpojer fbshipit-source-id: af03dda66f9d49f4fe88bd050b359ccb7abb889a
…cebook#22688) Summary: Instead of using ~/.rncache use the special Caches directory designed for caching files. This fixes facebook#21780. Changelog: ---------- [iOS] [Changed] - Moved iOS build cache directory from ~/.rncache to ~/Library/Caches/com.facebook.ReactNativeBuild Pull Request resolved: facebook#22688 Differential Revision: D13817171 Pulled By: cpojer fbshipit-source-id: af03dda66f9d49f4fe88bd050b359ccb7abb889a
Environment
Description
Why does React Native put downloaded source code archives (e.g. Boost, glog) in
~/.rncache
? I don't want to track down the temporary garbage created byreact-native
next time I need to make more free disk space.Please put these files in
~/Library/Caches
or/tmp
(or some other appropriate directory) on macOS.Reproducible Demo
Just run
react-native init ProjectName
and build the iOS app.The text was updated successfully, but these errors were encountered: