describe how to start Figwheel from nREPL in readme

This commit is contained in:
Artur Girenko 2015-12-15 19:25:50 +01:00
parent aeff45f8b5
commit 3f032463c6
1 changed files with 15 additions and 0 deletions

View File

@ -25,6 +25,7 @@ Generated project works in iOS and Android devices.
- Works in real Android device
- Works in Android simulator Genymotion (with re-natal use-figwheel -H 10.0.3.2)
- Works in stock Android emulator (with re-natal use-figwheel -H 10.0.2.2)
- Figwheel REPL can be started within nREPL
- You can reload app any time, no problem.
- "Debug in Chrome" is not required anymore.
- Optimizations :simple is used to compile "production" index.ios.js and index.android.js
@ -127,6 +128,20 @@ Start your simulator and deploy your app:
$ react-native run-android
```
#### Starting Figwheel REPL from nREPL
To start Figwheel within nREPL session:
```
$ lein repl
```
Then in the nREPL prompt type:
```
user=> (figwheel-ios)
```
Or, for Android build type:
```
user=> (figwheel-android)
```
## REPL
You have to reload your app, and should see the REPL coming up with the prompt.