From 0aef3fd50e01004c444f72ff9e145b2a04532440 Mon Sep 17 00:00:00 2001 From: Dave Liepmann Date: Sun, 25 Mar 2018 11:44:47 +0200 Subject: [PATCH 1/3] Rephrase Figwheel-from-REPL instructions: include CIDER --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 2cb47c2..b8dd301 100644 --- a/README.md +++ b/README.md @@ -106,11 +106,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`. Then in the REPL prompt type: ``` user=> (start-figwheel "ios") ``` From 652d209d53d8533f10c835978d52effe407aaa9e Mon Sep 17 00:00:00 2001 From: Dave Liepmann Date: Sun, 25 Mar 2018 12:34:26 +0200 Subject: [PATCH 2/3] README: add key commands for cider-jack-in --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8dd301..1c7b89f 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,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 -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`. Then in the REPL 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") ``` From 130d12355384b9beab16debe0611e355ab4c1c81 Mon Sep 17 00:00:00 2001 From: Dave Liepmann Date: Sun, 25 Mar 2018 12:35:21 +0200 Subject: [PATCH 3/3] README: add heading for standalone Figwheel This is intended to clarify the relationship between the two approaches to starting Figwheel, by giving them both their own heading. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c7b89f..dc8c024 100644 --- a/README.md +++ b/README.md @@ -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]