Skip to content

Instantly share code, notes, and snippets.

@coetry
Created August 24, 2017 02:00
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 coetry/c664947e3500ca1b7dbe4c842d91a625 to your computer and use it in GitHub Desktop.
Save coetry/c664947e3500ca1b7dbe4c842d91a625 to your computer and use it in GitHub Desktop.
(set-env!
:source-paths #{"src/cljs"}
:resource-paths #{"public"}
:dependencies '[[org.clojure/clojurescript "1.9.908"]
[org.clojure/clojure "1.8.0"]
[adzerk/boot-cljs "2.0.0"]
[adzerk/boot-reload "0.5.2"]
[com.cemerick/piggieback "0.2.1" :scope "test"]
[weasel "0.7.0" :scope "test"]
[garden "1.3.2"]
[adzerk/boot-cljs-repl "0.3.3"]
[pandeiro/boot-http "0.8.3"]
[org.clojure/tools.nrepl "0.2.12"]])
(require '[adzerk.boot-cljs :refer [cljs]]
'[pandeiro.boot-http :refer [serve]]
'[adzerk.boot-reload :refer [reload]]
'[adzerk.boot-cljs-repl :refer [cljs-repl start-repl]])
(deftask dev
"Launch Immediate Feedback Development Environment"
[]
(comp
(serve :dir "target")
(watch)
(reload)
(cljs-repl)
(cljs)
(target :dir #{"target"})))
#object[TypeError TypeError: goog.net.jsloader.load is not a function]
TypeError: goog.net.jsloader.load is not a function
at adzerk.boot_reload.client.patch_goog_base_BANG_.goog.global.CLOSURE_IMPORT_SCRIPT (http://localhost:3000/main.out/adzerk/boot_reload/client.js:18:26)
at Object.goog.importScript_ (http://localhost:3000/main.out/goog/base.js:951:9)
at Object.goog.writeScripts_ (http://localhost:3000/main.out/goog/base.js:1394:16)
at Object.goog.require [as require__] (http://localhost:3000/main.out/goog/base.js:706:14)
at Object.clojure.browser.repl.bootstrap.goog.require (http://localhost:3000/main.out/clojure/browser/repl.js:295:16)
at eval (eval at <anonymous> (http://localhost:3000/main.out/weasel/repl.js:30:495), <anonymous>:1:6)
at http://localhost:3000/main.out/weasel/repl.js:30:495
at http://localhost:3000/main.out/weasel/repl.js:39:4
at cljs.core.MultiFn.G__12138__2 (http://localhost:3000/main.out/cljs/core.js:34386:106)
at cljs.core.MultiFn.G__12138 [as call] (http://localhost:3000/main.out/cljs/core.js:34653:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment