Does anyone have good troubleshooting steps if figwheel gives you the “Figwheel Server: Resource not found” - “Keep on figwheelin’” page with no errors in console, no JS being served, no compilation errors found anywhere, and nothing be being written to figwheel.log?
there is no cljs changes between 2 branches, but this happens. I’ve ran across similar before, but now cannot remember any logical steps to follow rather than repl and prod around to see what figwheel is doing some more
all compiled js looks reasonably fine to me, don’t see things missing or problems
When I've run into this, I've usually been hitting the wrong url.
definitely not wrong url
can just switch from one branch to another and hit same url
with no url tweaks
it just is very unclear where to even look
figwheel’s server isn’t using my ring-handler
so going into some default serving, but not sure why hah
if you are switching branches, are you restarting figwheel?
because if figwheel reloads changed clojure code that could screw up your server
found the problem
there was a clj (server side) ns
had messed up file name
ns name was like my.nsthing, and file name had typo of my.nstihng
but had no errors anywhere to be found
how did nothing get thrown or put somewhere by figwheel?
a :require
on the ns should have been failing
I’m surprised, thought I usually get clj-compilation problems made apparent during figwheel startup
yes this is unfortunate behavior, figwheel-main
is much much more exacting and careful about exceptions
the ns porobably just wasn’t getting loaded
I need to switch projects over more
but yeah, I was overlooking this wrong file name in repl’s too
was using cider and loading form buffer and I think that was making it not care about file name
and then figwheel reported nothing at all hah
tricky, tricky
thanks for the assistance/feedback though. I appreciate the effort.