Re: [ClojureScript] Figwheel 0.2.5 and ClojureScript 1.10.758
Thanks, David. Unsurprisingly, you're correct! Figwheel-main v0.2.6 added additional `:bundle` support and rounded off the rough edges I was trying to address above. I followed that project's new NPM guide <https://figwheel.org/docs/npm.html> and everything *Just Worked*. There was also additional support added in v0.2.7, which I haven't had a chance to dig into yet. Kudos to Bruce Hauman for pushing those releases out so quickly. Pete On Thursday, June 4, 2020 at 11:41:11 AM UTC-4, David Nolen wrote: > > I believe the latest Figwheel releases are addressing `:bundle` support. > > David > > On Wed, May 20, 2020 at 12:14 AM Pete Doherty > wrote: > >> Hi all, >> >> I'm having trouble getting the latest versions of Figwheel-main (0.2.5) >> and ClojureScript (1.10.758) to (fully) work together. >> >> I've been able to rework the CLJS Webpack guide >> <https://clojurescript.org/guides/webpack> enough to get Figwheel >> compiling the app and serving it via a custom index.html page. The >> Figwheel-main changelog states that this is required in order to use the >> bundle feature. >> >> Unfortunately, I think I'm bypassing some of Figwheel's default REPL >> configuration. The Figwheel scripts all get loaded as part of my compiled >> Webpack bundle but the REPL script never connects to the Clojure REPL. >> There are some differences in the REPL script's log output between my >> project and the Figwheel-main Vim-Fireplace tutorial >> <https://github.com/bhauman/figwheel-main/blob/master/docs/docs/vim.md#starting-the-repls>. >> >> This certainly seems to be an indication that I'm doing something wrong, >> but I'm not sure where to begin addressing the issue. >> >> My project: >> [goog.net.WebSocket] Opening the WebSocket on >> ws://localhost:9500/figwheel-connect?fwsid=c0e05c8b-f386-45f1-a706-874d1f3e3fe7 >> >> >> >> The Figwheel tutorial: >> [goog.net.WebSocket] Opening the WebSocket on ws: >> //localhost:9500/figwheel-connect?fwprocess=0f3498=dev=e25756c1-5784-46f5-8e82-739fed9d18dd=Yan >> >> Does any of the above speak to anyone who knows these tools better than >> me? I do have some experience with both Figwheel and ClojureScript, but >> it's been a *long* time. >> >> Thanks! >> >> Pete >> >> -- >> Note that posts from new members are moderated - please be patient with >> your first post. >> --- >> You received this message because you are subscribed to the Google Groups >> "ClojureScript" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojur...@googlegroups.com . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/clojurescript/0bb75d1b-62b6-4f1c-ba6b-3b4b61aeacbd%40googlegroups.com >> >> <https://groups.google.com/d/msgid/clojurescript/0bb75d1b-62b6-4f1c-ba6b-3b4b61aeacbd%40googlegroups.com?utm_medium=email_source=footer> >> . >> > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojurescript/a21d9080-2a66-4edb-8bde-09e84151994do%40googlegroups.com.
Re: [ClojureScript] Figwheel 0.2.5 and ClojureScript 1.10.758
I believe the latest Figwheel releases are addressing `:bundle` support. David On Wed, May 20, 2020 at 12:14 AM Pete Doherty wrote: > Hi all, > > I'm having trouble getting the latest versions of Figwheel-main (0.2.5) > and ClojureScript (1.10.758) to (fully) work together. > > I've been able to rework the CLJS Webpack guide > <https://clojurescript.org/guides/webpack> enough to get Figwheel > compiling the app and serving it via a custom index.html page. The > Figwheel-main changelog states that this is required in order to use the > bundle feature. > > Unfortunately, I think I'm bypassing some of Figwheel's default REPL > configuration. The Figwheel scripts all get loaded as part of my compiled > Webpack bundle but the REPL script never connects to the Clojure REPL. > There are some differences in the REPL script's log output between my > project and the Figwheel-main Vim-Fireplace tutorial > <https://github.com/bhauman/figwheel-main/blob/master/docs/docs/vim.md#starting-the-repls>. > This certainly seems to be an indication that I'm doing something wrong, > but I'm not sure where to begin addressing the issue. > > My project: > [goog.net.WebSocket] Opening the WebSocket on > ws://localhost:9500/figwheel-connect?fwsid=c0e05c8b-f386-45f1-a706-874d1f3e3fe7 > > > The Figwheel tutorial: > [goog.net.WebSocket] Opening the WebSocket on ws: > //localhost:9500/figwheel-connect?fwprocess=0f3498=dev=e25756c1-5784-46f5-8e82-739fed9d18dd=Yan > > Does any of the above speak to anyone who knows these tools better than > me? I do have some experience with both Figwheel and ClojureScript, but > it's been a *long* time. > > Thanks! > > Pete > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojurescript+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojurescript/0bb75d1b-62b6-4f1c-ba6b-3b4b61aeacbd%40googlegroups.com > <https://groups.google.com/d/msgid/clojurescript/0bb75d1b-62b6-4f1c-ba6b-3b4b61aeacbd%40googlegroups.com?utm_medium=email_source=footer> > . > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojurescript/CAPC9OaezA8WWSv-kV0Vc0PRTqzcqcAEh2JBKRn20k5H1bpjcvA%40mail.gmail.com.
[ClojureScript] Figwheel 0.2.5 and ClojureScript 1.10.758
Hi all, I'm having trouble getting the latest versions of Figwheel-main (0.2.5) and ClojureScript (1.10.758) to (fully) work together. I've been able to rework the CLJS Webpack guide <https://clojurescript.org/guides/webpack> enough to get Figwheel compiling the app and serving it via a custom index.html page. The Figwheel-main changelog states that this is required in order to use the bundle feature. Unfortunately, I think I'm bypassing some of Figwheel's default REPL configuration. The Figwheel scripts all get loaded as part of my compiled Webpack bundle but the REPL script never connects to the Clojure REPL. There are some differences in the REPL script's log output between my project and the Figwheel-main Vim-Fireplace tutorial <https://github.com/bhauman/figwheel-main/blob/master/docs/docs/vim.md#starting-the-repls>. This certainly seems to be an indication that I'm doing something wrong, but I'm not sure where to begin addressing the issue. My project: [goog.net.WebSocket] Opening the WebSocket on ws://localhost:9500/figwheel-connect?fwsid=c0e05c8b-f386-45f1-a706-874d1f3e3fe7 The Figwheel tutorial: [goog.net.WebSocket] Opening the WebSocket on ws: //localhost:9500/figwheel-connect?fwprocess=0f3498=dev=e25756c1-5784-46f5-8e82-739fed9d18dd=Yan Does any of the above speak to anyone who knows these tools better than me? I do have some experience with both Figwheel and ClojureScript, but it's been a *long* time. Thanks! Pete -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojurescript+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojurescript/0bb75d1b-62b6-4f1c-ba6b-3b4b61aeacbd%40googlegroups.com.