Skip to content

Commit

Permalink
describe how to start Figwheel from nREPL in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
drapanjanas committed Dec 15, 2015
1 parent aeff45f commit 3f03246
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 3f03246

Please sign in to comment.