Skip to content

Commit

Permalink
Merge pull request #176 from daveliepmann/readme-explain-cider
Browse files Browse the repository at this point in the history
README: add instructions for Figwheel from CIDER
  • Loading branch information
drapanjanas authored Apr 1, 2018
2 parents 6dbf04d + 130d123 commit 5572718
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ This command needs to be run every time you switch to the development profile or

NOTE: You might need to restart React Native Packager and reload your app.

Start the Figwheel REPL with
#### Starting a standalone Figwheel REPL

Start a Figwheel REPL from the command line with:

```
$ lein figwheel [ios | android]
Expand All @@ -106,11 +108,7 @@ $ lein figwheel [ios | android]
If all went well you should see the REPL prompt and changes in source files should be hot-loaded by Figwheel.

#### Starting Figwheel REPL from nREPL
To start Figwheel from within nREPL session:
```
$ lein repl
```
Then in the nREPL prompt type:
You can also start Figwheel from within an existing nREPL session. Start a REPL with `lein repl` or, if using emacs and CIDER for editor integration, `cider-jack-in` (`C-c M-j`). Then in the REPL prompt type:
```
user=> (start-figwheel "ios")
```
Expand Down

0 comments on commit 5572718

Please sign in to comment.