Permalink
Browse files

README: More clarification of refresh usage

  • Loading branch information...
1 parent 357cd29 commit 969693f6f98d45640218e823fd7e21b7cbc77d1d @stuartsierra stuartsierra committed Oct 5, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 README.md
View
@@ -223,7 +223,7 @@ Step 1. Start up a REPL.
Step 2. Load the app:
- user=> (use '[clojure.tools.namespace.repl :only (refresh)])
+ user=> (use 'clojure.tools.namespace.repl)
user=> (refresh)
user=> (def my-app (create-application))
user=> (start my-app)
@@ -270,15 +270,16 @@ the exception *do not exist* at this point: they have been removed but
not yet reloaded.
After you fix the problem, call `refresh` again and it will resume
-reloading where it left off. If your current REPL namespace is one of
-those that has not yet been reloaded, then you will need to call
-`refresh` by its fully-qualified name
-`clojure.tools.namespace.repl/refresh`.
+reloading where it left off.
user=> (refresh)
:reloading (com.example.app com.example.app-test)
:ok
+If your current REPL namespace is one of those that has not yet been
+reloaded, then you will need to call `refresh` by its fully-qualified
+name `clojure.tools.namespace.repl/refresh`.
+
### Managing Reloads
Some projects have a "project REPL" or a "scratch" namespace where you

0 comments on commit 969693f

Please sign in to comment.