Skip to content

Commit

Permalink
integrate cljs-devtools into simpleexample
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin committed Aug 17, 2015
1 parent 531717c commit 1640870
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion examples/simple/devsrc/simpleexample/dev.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
(ns simpleexample.dev
(:require [simpleexample.core :as example]
[figwheel.client :as fw]))
[figwheel.client :as fw]
[devtools.core :as devtools]))

(devtools/install!)

(fw/start {:on-jsload example/run
:websocket-url "ws://localhost:3449/figwheel-ws"})
3 changes: 2 additions & 1 deletion examples/simple/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
[org.clojure/clojurescript "1.7.107"]
[reagent "0.5.0"]
[re-frame "0.4.1"]
[figwheel "0.3.7"]]
[figwheel "0.3.7"]
[binaryage/devtools "0.3.0"]]

:plugins [[lein-cljsbuild "1.0.5"]
[lein-figwheel "0.3.7"]]
Expand Down

0 comments on commit 1640870

Please sign in to comment.