You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want an alternative way of activating this option without necessarily going through the RN dev menu. Reasons for this may be because the menu cannot be activated from the modal (see #2063), or that your shake gesture is already bound to something else useful in your app.
RN appears to persist the Enable Live Reload preference across sessions — I'm assuming it uses NSUserDefaults or some such, so a simple solution might be to document the exact key for which this preference is stored. I could then write into that key the value I want (YES, always) and enable it without the UI.
The text was updated successfully, but these errors were encountered:
it seems to be different now. How would I go about this now? I just want to be able to assign a button in my app the ability to reload so I can just press it, or call a command from the chrome console. This is especially important with hot loading since regular reload isn't used anymore.
facebook
locked as resolved and limited conversation to collaborators
Jul 22, 2018
I want an alternative way of activating this option without necessarily going through the RN dev menu. Reasons for this may be because the menu cannot be activated from the modal (see #2063), or that your shake gesture is already bound to something else useful in your app.
RN appears to persist the Enable Live Reload preference across sessions — I'm assuming it uses
NSUserDefaults
or some such, so a simple solution might be to document the exact key for which this preference is stored. I could then write into that key the value I want (YES
, always) and enable it without the UI.The text was updated successfully, but these errors were encountered: