doc
This commit is contained in:
parent
0657cfd13f
commit
71c3f9ad5c
1 changed files with 3 additions and 3 deletions
|
|
@ -89,8 +89,8 @@ Editor plugins known to work with the babashka nREPL server:
|
||||||
The babashka nREPL server does not write an `.nrepl-port` file at startup, but
|
The babashka nREPL server does not write an `.nrepl-port` file at startup, but
|
||||||
you can easily write a script that launches the server and writes the file:
|
you can easily write a script that launches the server and writes the file:
|
||||||
|
|
||||||
``` clojure
|
``` clojure
|
||||||
#!/usr/bin/env bb
|
#!/usr/bin/env bb
|
||||||
|
|
||||||
(import [java.net ServerSocket]
|
(import [java.net ServerSocket]
|
||||||
[java.io File]
|
[java.io File]
|
||||||
|
|
@ -107,7 +107,7 @@ you can easily write a script that launches the server and writes the file:
|
||||||
(spit ".nrepl-port" nrepl-port)
|
(spit ".nrepl-port" nrepl-port)
|
||||||
(.deleteOnExit (File. ".nrepl-port"))
|
(.deleteOnExit (File. ".nrepl-port"))
|
||||||
(.waitFor proc))
|
(.waitFor proc))
|
||||||
```
|
```
|
||||||
|
|
||||||
### Debugging the nREPL server
|
### Debugging the nREPL server
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue