lein-figwheel

shzhng 2017-08-09T15:19:22.771167Z

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

shzhng 2017-08-09T15:19:44.785033Z

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 <http://0.0.0.0:3449/js/compiled/out/figwheel/connect/dev.js> 
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

shzhng 2017-08-09T15:20:40.821710Z

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

shzhng 2017-08-09T15:21:47.864326Z

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

peeja 2017-08-09T19:51:38.230615Z

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

peeja 2017-08-09T19:51:52.237791Z

Or, more generally, to an arbitrary file?

peeja 2017-08-09T19:51:58.241437Z

(outside the source path)

peeja 2017-08-09T19:56:43.395464Z

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

peeja 2017-08-09T19:56:52.400264Z

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

bhauman 2017-08-09T23:40:40.829642Z

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

shzhng 2017-08-09T23:43:13.867983Z

er seems like a namespace change

shzhng 2017-08-09T23:43:37.873867Z

is figwheel still using cljs.spec?

shzhng 2017-08-09T23:44:07.881064Z

or whatever package repl.cljs belongs to?