react-native-setdevserver

1.1.1 • Public • Published

react-native-setdevserver

React-Native plugin to set the IP/hostname of the development server to host the RN JS and asset bundle.

Usage

From the project directory:

yarn install react-native-setdevserver
react-native setdevserver 192.168.1.1

Where "192.168.1.1" is the IP address (usually) or hostname (more rarely) of the machine you want to use for development

To undo the change, and go back to default behavior, where the current machine is the development server, run the plugin without the server argument:

react-native setdevserver

Note that the devserver is saved in your package.json, for replicability.

Note this version only supports changing the development server in IOS. To change in Android, use the developer menu like you would before.

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-setdevserver

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

10.6 kB

Total Files

8

Last publish

Collaborators

  • raydeck