Skip to content

Commit fb1cee7

Browse files
committed
Add note about creating src directory
1 parent df8047b commit fb1cee7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

index.adoc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,19 @@ we have no routes defined. The error page will be in plaintext, because
603603
we haven't specified what _features_ we want for our web application.
604604

605605
We'll fix both these issues, but before we do we should terminate the
606-
application with Ctrl-C and start a REPL instead.
606+
application with Ctrl-C and make a `src` directory.
607+
608+
[,shell]
609+
----
610+
mkdir src
611+
----
612+
613+
IMPORTANT: The source directory must be created before running the REPL.
614+
This is because Clojure looks for source files in the Java classpath,
615+
and directories that don't exist yet will be omitted from this.
616+
617+
Then we'll start a REPL. We'll keep this running while we develop the
618+
application.
607619

608620
[,shell]
609621
----

0 commit comments

Comments
 (0)