remotedev-server/README.md
2016-01-21 11:16:46 +02:00

1.1 KiB

RemoteDev Server

Bridge for connecting remotedev monitor app with Remote Redux DevTools or RemoteDev using a local server. Running a local server is optional, you may use remotedev.io server instead, which is by default.

Installation

npm install --save-dev remotedev-server

Usage

Add in your app's package.json:

"scripts": {
  "remotedev": "remotedev --hostname=localhost --port=8000"
}

So, you can start local server by running npm run remotedev.

If you install the package globally (not recommended) just run:

remotedev --hostname=localhost --port=8000

Change hostaname and port to the values you want.

Connect from Android device or emulator

If you're running an Android 5.0+ device connected via USB or an Android emulator, use adb command line tool to setup port forwarding from the device to your computer:

adb reverse tcp:8000 tcp:8000

License

MIT