Skip to content

Instantly share code, notes, and snippets.

@darwin
Created March 9, 2017 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darwin/01da7a2a795ff887b127b63a2817e7c0 to your computer and use it in GitHub Desktop.
Save darwin/01da7a2a795ff887b127b63a2817e7c0 to your computer and use it in GitHub Desktop.
diff --git a/project.clj b/project.clj
index 55e473c..991ba3b 100644
--- a/project.clj
+++ b/project.clj
@@ -49,9 +49,7 @@
:source-map-timestamp true
;; To console.log CLJS data-structures make sure you enable devtools in Chrome
;; https://github.com/binaryage/cljs-devtools
- :preloads [devtools.preload dirac.runtime.preload]
- :external-config {:dirac.runtime/config {:agent-host "localhost"
- :agent-port 9977}}}}
+ :preloads [devtools.preload dirac.runtime.preload]}}
;; This next build is an compressed minified build for
;; production. You can build this with:
;; lein cljsbuild once min
@@ -106,12 +104,14 @@
:profiles {:dev {:dependencies [[binaryage/devtools "0.9.0"]
[figwheel-sidecar "0.5.9"]
- [com.cemerick/piggieback "0.2.1"]]
+ ;[com.cemerick/piggieback "0.2.1"]
+ ]
;; need to add dev source path here to get user.clj loaded
:source-paths ["src" "dev"]
;; for CIDER
;; :plugins [[cider/cider-nrepl "0.12.0"]]
- :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
+ ;:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
+ }
:repl {:repl-options {:port 8230
:nrepl-middleware [dirac.nrepl/middleware]
:init (do
diff --git a/resources/public/index.html b/resources/public/index.html
index 871dd9c..1422859 100644
--- a/resources/public/index.html
+++ b/resources/public/index.html
@@ -10,6 +10,6 @@
<h2>Figwheel template</h2>
<p>Checkout your developer console.</p>
</div>
- <script src="js/compiled/om_remote.js" type="text/javascript"></script>
+ <script src="js/compiled/om-remote.js" type="text/javascript"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment