Is it expected to see Use of undeclared Var
warnings in the Dirac REPL like this?
yes, it is normal nREPL session in this regard
you have to require or load-file to get rid of those warnings
load-file is a special nREPL middleware command, some IDEs support it, for example Cursive has it as command in menu
Cool, gotcha. Thanks!
Also, I noticed that it seemed like source maps weren’t updating when Figwheel recompiled, is that expected/known?
I didn’t notice that, but I don’t have complex-enough project with figwheel + dirac
still have to start using Dirac on some real project myself 😉
by source maps do you mean “source panel”, when you click some file location link and it shows you outdated sources or location?
I noticed http://dev.clojure.org/jira/browse/CLJS-894, but need to check more to see how normal devtools behaves
Yeah, I noticed it with a (js-debugger)
breakpoint set, but I think it will apply anywhere
have you tried? https://github.com/clojure/clojurescript/wiki/Compiler-Options#source-map-timestamp
I was using it to help with outdated source-maps, it was an issue when I was working on Atom package, seems not needed for normal webdev workflows tough
yeah, just trying it now, I don’t think it’s a dirac issue, just devtools
I can’t recall what was the issue with those source maps. Please, let us know if you find the problem.
Yep, that fixes it
Probably all figwheel users should have that option enabled
I think?
not sure, this does not seem to be reported often in figwheel or general clojurescript channels
I would guess some caching setting comes into play
it should be fixed if you force DevTools to not cache anything at all (when open)
that would be an alternative solution I believe
do you use figwheel’s web server for dev or your own?
what headers does it send?
Using figwheels
@darwin: I suspect that may be because not many people use source-maps? :simple_smile:
Nope, even with caching off it still fails
https://bugs.chromium.org/p/chromium/issues/detail?id=438251&thanks=438251&ts=1417537967
hmm
This is just a general issue, but I suspect most people haven’t hit it much because without dirac, source maps are not quite so useful
They obviously have use, but dirac lets you use them in an interactive fashion much easier
indeed
there is a chance I could be able to fix this in DevTools if this is really a devtools bug
but first let’s wait for more reports for other users as well
Dirac is pretty much unknown to most people and those who are aware of it, they haven’t integrated it yet into their workflows. It will take few months I guess before we start seeing reports like this.
Sure thing
@danielcompton: thanks for the PRs for docs improvements, much appreciated
np, is it ok to leave commit and PR messages blank? I was in a bit of a hurry, but I can fill them out more in the future if it’s helpful
In fact I will fill them out more
Good practice
It is fine. It is pretty obvious that those are grammar/spelling fixes.