Closed markjfisher closed 8 years ago
I started using electron-template instead to see if I could get further and that worked out the box connecting the application to figwheel with changes reflected in the app and react working too, so this is really an issue that the default template for descjop doesn't work on my Mac OS/X. I'll close this, as I probably won't have chance to test it again in descjop.
I wouldn't mind reopening this, since I have the same problem. I'm on Linux
Thank you for report. I will reopen this issue, and start to investigate this probrem.
I had the same issue, then enabled dev-tools adding the below in core.cljs, and noticed that goog.require in index.html was referring to 'myproject-name.core' instead of 'myproject_name.core'. This fixed the problem. ;; enable dev tools (.openDevTools @win)
I fixed that problem. you can try new version descjop again! (new version has been available.)
I'm not sure if it's meant to do this, but using a clean install of 0.5.2 project for both om and reagent give the results:
"X" does not work.
in the electron application when started (where X is "Om" for the om project, "Reagent" for the reagent project).
I'm on Mac OS/X.
Also, I'm firing up the figwheel listener as recommended using "lein trampoline figwheel frontend" which starts the autobuilder and says "Prompt will show when figwheel connects to your application", but I don't know how to get it to do that.
Going to "http://localhost:3449/index.html" gives "Cannot find:/index.html", presumably because of the figwheel_middleware.clj handler always returns a 404.
I think what I'm missing and what would be usefully documented are the next steps from a basic install for:
Sorry for all the questions, but I'm still trying to piece together the parts and their interaction, plus because I'm getting "X does not work", i'm not sure if it's because I'm missing the next step, or the setup is broken, and how to go about fixing it.