Skip to content

Commit

Permalink
updates for dirac 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed May 5, 2016
1 parent 1e234b4 commit 736bdcc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.40"]
[binaryage/devtools "0.6.1"]
[binaryage/dirac "0.2.0"]]
[binaryage/dirac "0.3.0"]]

:plugins [[lein-cljsbuild "1.1.3"]
[lein-shell "0.5.0"]
Expand Down Expand Up @@ -64,7 +64,7 @@
; --------------------------------------------------------------------------------------------------------------
:repl
{:repl-options {:port 8230
:nrepl-middleware [dirac.nrepl.middleware/dirac-repl]
:nrepl-middleware [dirac.nrepl/middleware]
:init (do
(require 'dirac.agent)
(dirac.agent/boot!))}}
Expand Down
16 changes: 15 additions & 1 deletion src/demo/dirac_sample/demo.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,18 @@

(defn ^:export breakpoint-demo-handler []
(log "calling breakpoint-demo:")
(breakpoint-demo 3))
(breakpoint-demo 3))

(comment
;
; some things to test in "joined" Cursive REPL
;
; 0. make sure nREPL server is up and running and your Dirac DevTools REPL is connected
; 1. connect Cursive to remote REPL on port 8230
; 2. run (dirac! :join)
; 3. switch to this file,
; 4 use Cursive's Tools -> REPL -> 'Switch REPL NS to current file'
; 5. use Cursive's Tools -> REPL -> 'Load File in REPL'
; 6. move cursor at closing brace of following form and use Cursive's Tools -> REPL -> 'Send ... to REPL'
;
(hello! "from Cursive REPL"))

0 comments on commit 736bdcc

Please sign in to comment.