figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
sophiago 2017-04-10T23:24:08.694325Z

@bhauman i seem to be experiencing the same issue as @mikerod except it's not resolving itself. have you heard of this before? i'm hesitant to open an issue since it's a project i haven't looked at in ~6 months and this is the first time i'm trying to load it on a new machine. however, it is reproducible by cloning my github repo: https://github.com/Sophia-Gold/Lazy-Henderson

2017-04-10T23:29:04.747524Z

@sophiago I never did find a solution that I was happy with. My problem was that a var kept “re-pointing” itself to old state that didn’t exist anywhere that I could find in my files anymore (including all compiled js files). I ended up just changing the name of the var and all references to it and it stopped. which I’d expect it’d have to stop at that point since I stopped using the old name completely.

2017-04-10T23:29:19.749879Z

I wasn’t sure if it was browser caching. I didn’t experiment with that enough to be sure.

sophiago 2017-04-10T23:29:34.752673Z

a var in where?

2017-04-10T23:30:41.764955Z

it was in cljs that I had the issue. a var that just held some static data that I was then referring to from a part of my app-state

sophiago 2017-04-10T23:30:52.766971Z

oh i see

2017-04-10T23:30:54.767293Z

not sure that is really helpful. and not sure if it relates.

sophiago 2017-04-10T23:31:39.775819Z

i don't think that could possibly be the case for me. first thing i tried was manually clearing state and printing it to the console

sophiago 2017-04-10T23:32:34.785531Z

i suppose i haven't tried figwheel in totally different projects to see if i experience the same issue there. i'm hesitant to test this project with a vanilla browser repl just out of laziness tbh

2017-04-10T23:33:29.795116Z

yeah, My issue was frustrating and I wanted to figure it out, but just gave up after a while

2017-04-10T23:33:42.797379Z

I may look at it again if I stubmle across it again

sophiago 2017-04-10T23:34:27.805187Z

i'd like to dig a little deeper, but seems to warrant opening a github issue

sophiago 2017-04-10T23:35:32.816362Z

hmm...ok so figwheel won't load when launched inside a totally different project file because it can't find the src from the problem file...

sophiago 2017-04-10T23:36:27.826076Z

i can't even wrap my head around what that means

sophiago 2017-04-10T23:38:14.843979Z

i have lein 2.61 from nix. statistically i'd doubt that's the case for you?

2017-04-10T23:43:29.898179Z

mac osx lein 2.7.1

2017-04-10T23:43:55.902431Z

yeah, it seemed to me at the time that the figwheel server was serving old js files somehow, but I couldn’t find them and I searched everywhere

2017-04-10T23:44:15.905751Z

if you have a good repro case, that sounds like a reasonable plan to make an issue to try to understand it

sophiago 2017-04-10T23:55:24.018475Z

ok. i'll probably open an issue in a bit then