Fork me on GitHub
#lein-figwheel
<
2017-08-09
>
shzhng15:08:22

not too sure where to ask this, but looks like something related to figwheel - i get this error when i connect to figwheel

shzhng15:08:44

Uncaught Error: goog.require could not find: cljs.spec
    at Object.goog.require (base.js:711)
    at repl.cljs?rel=1502290033747:9
goog.require @ base.js:711
(anonymous) @ repl.cljs?rel=1502290033747:9
base.js:1167 GET  
goog.writeScriptSrcNode_ @ base.js:1167
goog.writeScriptTag_ @ base.js:1241
goog.importScript_ @ base.js:951
goog.writeScripts_ @ base.js:1394
goog.require @ base.js:706
(anonymous) @ (index):10

shzhng15:08:40

pretty basic project that i've set up so far w clojurescript 1.9.854, clojure 1.9.0-alpha14, and lein-figwheel 0.5.12

shzhng15:08:47

is google closure somehow stripping out cljs.spec as dead code?

peeja19:08:38

Is it possible to get figwheel to watch changes to a foreign lib?

peeja19:08:52

Or, more generally, to an arbitrary file?

peeja19:08:58

(outside the source path)

peeja19:08:43

Hmm, looks like it's already supposed to watch foreign libs

peeja19:08:52

So…I have no idea what's going wrong here 😛

bhauman23:08:40

@shzhng so you have learned about cljs.spec.alpha by now?

shzhng23:08:13

er seems like a namespace change

shzhng23:08:37

is figwheel still using cljs.spec?

shzhng23:08:07

or whatever package repl.cljs belongs to?