diff --git a/CHANGES.md b/CHANGES.md index 9f8849b..642576f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +# 0.2.9 Use-SSL figwheel configuration option + +* added `:use-ssl` figwheel configuration option as sugar to make + setting up https easier + # 0.2.8 Bug fix and build cleaning Fixed a major bug introduced in 0.2.7 that caused extra-mains to diff --git a/README.md b/README.md index 8b77e7c..5096f84 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ On Mac OSX with brew: Now launch a ClojureScript REPL with: ``` -clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.8\"}}}}" -m figwheel.main +clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.9\"}}}}" -m figwheel.main ``` This will first compile browser REPL code to a temp directory, and @@ -224,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it to your dependencies. ``` -clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.8\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main +clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.9\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main ``` As of right now using Rebel readline does create some startup overhead @@ -245,7 +245,7 @@ directory of your project. Ensure your `deps.edn` file has the `figwheel.main` dependencies: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} ;; setup some development paths :paths ["src" "target" "resources"] @@ -311,7 +311,7 @@ directory of your project. Ensure your `project.clj` file has `figwheel.main` dependencies: ```clojure -:dependencies [[com.bhauman/figwheel-main "0.2.8"] +:dependencies [[com.bhauman/figwheel-main "0.2.9"] [com.bhauman/rebel-readline-cljs "0.1.4"]] ;; setup target as a resource path :resource-paths ["target" "resources"] @@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add a `re-frame` dependency like so: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"} ;; adding re-frame re-frame {:mvn/version "1.10.5"}} diff --git a/deps.edn b/deps.edn index 4d00477..892cf8e 100644 --- a/deps.edn +++ b/deps.edn @@ -4,8 +4,8 @@ ;; DEV for now its easier to use cider with top level deps ;; com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"} ;; com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"} - com.bhauman/figwheel-repl {:mvn/version "0.2.9-SNAPSHOT"} - com.bhauman/figwheel-core {:mvn/version "0.2.9-SNAPSHOT"} + com.bhauman/figwheel-repl {:mvn/version "0.2.9"} + com.bhauman/figwheel-core {:mvn/version "0.2.9"} ;; server ring {:mvn/version "1.8.1"} diff --git a/doc/figwheel-main-options.md b/doc/figwheel-main-options.md index 09cde3f..67ae038 100644 --- a/doc/figwheel-main-options.md +++ b/doc/figwheel-main-options.md @@ -644,6 +644,29 @@ Default value is nil :clean-outputs true +## :use-ssl + +Takes a boolean value that if true indicates that +figwheel.main should configure its server to use https. + +This mainly adds default `:ring-server-options` for + + :ssl? true + :ssl-port 9533 + +This also changes the default `:connect-url` to +`wss://[[config-hostname]]:/figwheel-connect` and the +default `:open-url` to `https://[[server-hostname]]:` where +`` is replaced with the `:ssl-port` from +`:ring-server-options`. + +To complete your SSL configuration you will need to provide a +certificate and keys to options to `:ring-server-options` via a Java +KeyStore. + + :keystore + :password + # Rarely used options ## :open-url-wait-ms diff --git a/docs/README.md b/docs/README.md index 8b77e7c..5096f84 100644 --- a/docs/README.md +++ b/docs/README.md @@ -200,7 +200,7 @@ On Mac OSX with brew: Now launch a ClojureScript REPL with: ``` -clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.8\"}}}}" -m figwheel.main +clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.9\"}}}}" -m figwheel.main ``` This will first compile browser REPL code to a temp directory, and @@ -224,7 +224,7 @@ available. So, you can get Rebel Readline behavior by simply adding it to your dependencies. ``` -clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.8\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main +clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.9\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main ``` As of right now using Rebel readline does create some startup overhead @@ -245,7 +245,7 @@ directory of your project. Ensure your `deps.edn` file has the `figwheel.main` dependencies: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} ;; setup some development paths :paths ["src" "target" "resources"] @@ -311,7 +311,7 @@ directory of your project. Ensure your `project.clj` file has `figwheel.main` dependencies: ```clojure -:dependencies [[com.bhauman/figwheel-main "0.2.8"] +:dependencies [[com.bhauman/figwheel-main "0.2.9"] [com.bhauman/rebel-readline-cljs "0.1.4"]] ;; setup target as a resource path :resource-paths ["target" "resources"] @@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add a `re-frame` dependency like so: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"} ;; adding re-frame re-frame {:mvn/version "1.10.5"}} diff --git a/docs/assets/compiled/js/main.js b/docs/assets/compiled/js/main.js index f94a419..fdaa5e5 100644 --- a/docs/assets/compiled/js/main.js +++ b/docs/assets/compiled/js/main.js @@ -146,8 +146,8 @@ H(p);var q=M(p);if(null==q)return a.Y?a.Y(b,c,d,e,g,f,k,l,m,n):a.call(a,b,c,d,e, l,m,n,p,q,r,t);u=H(v);var x=M(v);if(null==x)return a.ca?a.ca(b,c,d,e,g,f,k,l,m,n,p,q,r,t,u):a.call(a,b,c,d,e,g,f,k,l,m,n,p,q,r,t,u);v=H(x);var A=M(x);if(null==A)return a.da?a.da(b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v):a.call(a,b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v);x=H(A);var G=M(A);if(null==G)return a.ea?a.ea(b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x):a.call(a,b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x);A=H(G);var R=M(G);if(null==R)return a.fa?a.fa(b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x,A):a.call(a,b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v, x,A);G=H(R);var ja=M(R);if(null==ja)return a.ga?a.ga(b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x,A,G):a.call(a,b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x,A,G);R=H(ja);ja=M(ja);if(null==ja)return a.ha?a.ha(b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x,A,G,R):a.call(a,b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x,A,G,R);b=[b,c,d,e,g,f,k,l,m,n,p,q,r,t,u,v,x,A,G,R];for(c=ja;;)if(c)b.push(H(c)),c=M(c);else break;return a.apply(a,b)} function xf(a,b){if(a.V){var c=a.S,d=pf(c+1,b);return d<=c?sf(a,d,b):a.V(b)}b=K(b);return null==b?a.A?a.A():a.call(a):tf(a,H(b),M(b))}function yf(a,b,c){return kc.V?(a=Ce(a,Ce(b,c)),b=kc.S,c=2+pf(b-1,c),c<=b?sf(kc,c,a):kc.V(a)):uf(kc,a,b,K(c))}function Me(a,b,c,d,e,f){return a.V?(f=qf(f),b=Ce(b,Ce(c,Ce(d,Ce(e,f)))),c=a.S,f=4+pf(c-3,f),f<=c?sf(a,f,b):a.V(b)):wf(a,b,c,d,e,qf(f))} -function zf(){if("undefined"===typeof Kc||"undefined"===typeof Lc||"undefined"===typeof Mc)Mc=function(a){this.Ac=a;this.i=393216;this.v=0},Mc.prototype.R=function(a,b){return new Mc(b)},Mc.prototype.M=function(){return this.Ac},Mc.prototype.ua=function(){return!1},Mc.prototype.next=function(){return Error("No such element")},Mc.prototype.remove=function(){return Error("Unsupported operation")},Mc.Tc=function(){return new Af(null,1,5,Bf,[Cf],null)},Mc.Tb=!0,Mc.tb="cljs.core/t_cljs$core10265",Mc.vc= -function(a){return xd(a,"cljs.core/t_cljs$core10265")};return new Mc(Df)}function Ef(a,b){for(;;){if(null==K(b))return!0;var c=L(b);c=a.a?a.a(c):a.call(null,c);if(B(c))b=M(b);else return!1}}function Ff(a){this.state=a;this.ac=this.Hc=this.o=null;this.v=16386;this.i=6455296}h=Ff.prototype;h.equiv=function(a){return this.s(null,a)};h.s=function(a,b){return this===b};h.Eb=function(){return this.state};h.M=function(){return this.o}; +function zf(){if("undefined"===typeof Kc||"undefined"===typeof Lc||"undefined"===typeof Mc)Mc=function(a){this.Ac=a;this.i=393216;this.v=0},Mc.prototype.R=function(a,b){return new Mc(b)},Mc.prototype.M=function(){return this.Ac},Mc.prototype.ua=function(){return!1},Mc.prototype.next=function(){return Error("No such element")},Mc.prototype.remove=function(){return Error("Unsupported operation")},Mc.Tc=function(){return new Af(null,1,5,Bf,[Cf],null)},Mc.Tb=!0,Mc.tb="cljs.core/t_cljs$core9497",Mc.vc= +function(a){return xd(a,"cljs.core/t_cljs$core9497")};return new Mc(Df)}function Ef(a,b){for(;;){if(null==K(b))return!0;var c=L(b);c=a.a?a.a(c):a.call(null,c);if(B(c))b=M(b);else return!1}}function Ff(a){this.state=a;this.ac=this.Hc=this.o=null;this.v=16386;this.i=6455296}h=Ff.prototype;h.equiv=function(a){return this.s(null,a)};h.s=function(a,b){return this===b};h.Eb=function(){return this.state};h.M=function(){return this.o}; h.Rb=function(a,b,c){a=K(this.ac);for(var d=null,e=0,f=0;;)if(f/figwheel-connect` and the +default `:open-url` to `https://[[server-hostname]]:` where +`` is replaced with the `:ssl-port` from +`:ring-server-options`. + +To complete your SSL configuration you will need to provide a +certificate and keys to options to `:ring-server-options` via a Java +KeyStore. + + :keystore + :password + # Rarely used options ## :open-url-wait-ms diff --git a/docs/docs/classpaths.md b/docs/docs/classpaths.md index af03383..072a8d4 100644 --- a/docs/docs/classpaths.md +++ b/docs/docs/classpaths.md @@ -147,7 +147,7 @@ Let's add the `cljs-src` path to our classpath with CLI Tools. In your ```clojure {:deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} :aliases {:fig {:main-opts ["-m" "figwheel.main"]}} ;; define paths here @@ -256,7 +256,7 @@ Edit `deps.edn`: ```clojure {:deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"} :aliases {:fig {:main-opts ["-m" "figwheel.main"]} ;; add "resources" path here @@ -383,7 +383,7 @@ This is just a simple matter as we just need to add `"target"` to the ```clojure {:deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"} :aliases {:fig {:main-opts ["-m" "figwheel.main"]} ;; add "target" path here diff --git a/docs/docs/code_splitting.md b/docs/docs/code_splitting.md index 92c6c9c..cd6281a 100644 --- a/docs/docs/code_splitting.md +++ b/docs/docs/code_splitting.md @@ -53,7 +53,7 @@ touch deps.edn Edit this script to look like the following: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"}} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"}} :paths ["src" "resources" "target"]} ``` diff --git a/docs/docs/create_a_build.md b/docs/docs/create_a_build.md index 109d6de..83608ee 100644 --- a/docs/docs/create_a_build.md +++ b/docs/docs/create_a_build.md @@ -43,7 +43,7 @@ The contents of the `deps.edn` file should be: ```clojure {:deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} :aliases {:fig {:main-opts ["-m" "figwheel.main"]}} :paths ["src" "resources" "target"]} @@ -57,7 +57,7 @@ If you're using Leiningen your `project.clj` should be: :profiles {:dev {:dependencies [[org.clojure/clojurescript "1.10.773"] - [com.bhauman/figwheel-main "0.2.8"] + [com.bhauman/figwheel-main "0.2.9"] ;; optional but recommended [com.bhauman/rebel-readline-cljs "0.1.4"]] :resource-paths ["target"] diff --git a/docs/docs/emacs.md b/docs/docs/emacs.md index eff674d..1767730 100644 --- a/docs/docs/emacs.md +++ b/docs/docs/emacs.md @@ -145,7 +145,7 @@ would look like this: ```clojure {:deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"}} + com.bhauman/figwheel-main {:mvn/version "0.2.9"}} :paths ["src" "resources" "target"]} ``` diff --git a/docs/docs/installation.md b/docs/docs/installation.md index 68c5d30..c599546 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -159,7 +159,7 @@ As a concrete example, in the root directory of your project place a :profiles {:dev {:dependencies [[org.clojure/clojurescript "1.10.773"] - [com.bhauman/figwheel-main "0.2.8"] + [com.bhauman/figwheel-main "0.2.9"] ;; optional but recommended [com.bhauman/rebel-readline-cljs "0.1.4"]]}}) ``` @@ -196,7 +196,7 @@ following contents: ```clojure {:deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} ;; optional but recommended com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}} ``` @@ -282,7 +282,7 @@ to launch a REPL with `figwheel.main`. ```clojure {:deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} ;; optional but recommended com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} :aliases {:fig {:main-opts ["-m" "figwheel.main"]}}} diff --git a/docs/docs/jetty_conflicts.md b/docs/docs/jetty_conflicts.md index 2f42ac6..9018f2f 100644 --- a/docs/docs/jetty_conflicts.md +++ b/docs/docs/jetty_conflicts.md @@ -45,7 +45,7 @@ In your `deps.edn` this would look like this: ```clojure {:deps {org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.datomic/client-cloud {:mvn/version "0.8.71"} ;; directly specify all jetty dependencies diff --git a/docs/docs/vim.md b/docs/docs/vim.md index ed5bda1..a8c1cec 100644 --- a/docs/docs/vim.md +++ b/docs/docs/vim.md @@ -59,7 +59,7 @@ Place the following in `project.clj`: :plugins [[cider/cider-nrepl "0.24.0"]] :profiles {:dev {:dependencies [[org.clojure/clojurescript "1.10.773"] - [com.bhauman/figwheel-main "0.2.8"] + [com.bhauman/figwheel-main "0.2.9"] [cider/piggieback "0.4.2"]] :resource-paths ["target"] :clean-targets ^{:protect false} ["target"] @@ -199,7 +199,7 @@ So here's a minimal `deps.edn` (analogous to the previous `project.clj`): :deps {org.clojure/clojure {:mvn/version "1.9.0"} org.clojure/clojurescript {:mvn/version "1.10.773"} - com.bhauman/figwheel-main {:mvn/version "0.2.8"} + com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline {:mvn/version "0.1.4"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"} org.clojure/tools.nrepl {:mvn/version "0.2.13"} diff --git a/docs/tutorial.md b/docs/tutorial.md index 6c348d5..17ce04b 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -84,7 +84,7 @@ So in our new `hello-cljs` directory, we'll create a `deps.edn` file with the following contents: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"}}} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"}}} ``` ## Starting a ClojureScript REPL @@ -161,7 +161,7 @@ To use Rebel Readline let's add `com.bhauman/rebel-readline-cljs 0.1.4` as another dependency in the `deps.edn` file: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}} ``` @@ -629,7 +629,7 @@ We can fix this classpath warning by adding both `"src"` and `"target"` to the `:paths` key in our `deps.edn` file: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} :paths ["src" "target"]} ``` @@ -1078,7 +1078,7 @@ to the `:paths` key in you `deps.edn` file. When you finish the file should look like this: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} :paths ["src" "target" "resources"]} ``` diff --git a/helper-content/creating_a_build_cli_tools.md b/helper-content/creating_a_build_cli_tools.md index 60a8323..8468095 100644 --- a/helper-content/creating_a_build_cli_tools.md +++ b/helper-content/creating_a_build_cli_tools.md @@ -16,7 +16,7 @@ a `deps.edn` file in the directory that you launched this REPL from. If don't have a `deps.edn` file let's create one now: ```clojure -{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.8"} +{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.9"} ;; add rebel-readline for advanced REPL readline editing com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}} :paths ["src" "target" "resources"]} diff --git a/helper-content/creating_a_build_lein.md b/helper-content/creating_a_build_lein.md index 12ed138..b53f023 100644 --- a/helper-content/creating_a_build_lein.md +++ b/helper-content/creating_a_build_lein.md @@ -19,7 +19,7 @@ If don't have a `project.clj` file let's create one now: ```clojure (defproject lein-main "0.1.0-SNAPSHOT" :profiles {:dev {:dependencies - [[com.bhauman/figwheel-main "0.2.8"] + [[com.bhauman/figwheel-main "0.2.9"] [com.bhauman/rebel-readline-cljs "0.1.4"]]}} :aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]}) ``` diff --git a/helper-resources/public/com/bhauman/figwheel/helper.js b/helper-resources/public/com/bhauman/figwheel/helper.js index 2ebe2d5..cfd60e3 100644 --- a/helper-resources/public/com/bhauman/figwheel/helper.js +++ b/helper-resources/public/com/bhauman/figwheel/helper.js @@ -170,8 +170,8 @@ n=K(p);var q=R(p);if(null==q)return a.xa?a.xa(b,c,d,e,h,f,k,l,m,n):a.call(a,b,c, e,h,f,k,l,m,n,p,q,r,t);v=K(w);var B=R(w);if(null==B)return a.Ca?a.Ca(b,c,d,e,h,f,k,l,m,n,p,q,r,t,v):a.call(a,b,c,d,e,h,f,k,l,m,n,p,q,r,t,v);w=K(B);var F=R(B);if(null==F)return a.Da?a.Da(b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w):a.call(a,b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w);B=K(F);var J=R(F);if(null==J)return a.Ea?a.Ea(b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B):a.call(a,b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B);F=K(J);var W=R(J);if(null==W)return a.Fa?a.Fa(b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B,F):a.call(a,b,c,d,e,h,f,k,l,m,n,p,q, r,t,v,w,B,F);J=K(W);var va=R(W);if(null==va)return a.Ga?a.Ga(b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B,F,J):a.call(a,b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B,F,J);W=K(va);va=R(va);if(null==va)return a.Ha?a.Ha(b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B,F,J,W):a.call(a,b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B,F,J,W);b=[b,c,d,e,h,f,k,l,m,n,p,q,r,t,v,w,B,F,J,W];for(c=va;;)if(c)b.push(K(c)),c=R(c);else break;return a.apply(a,b)} function If(a,b,c,d,e,f){return a.Z?(f=mg(f),b=X(b,X(c,X(d,X(e,f)))),c=a.V,f=4+lg(c-3,f),f<=c?og(a,f,b):a.Z(b)):rg(a,b,c,d,e,mg(f))} -function sg(){if("undefined"===typeof Qd||"undefined"===typeof Rd||"undefined"===typeof Sd)Sd=function(a){this.Yc=a;this.i=393216;this.u=0},Sd.prototype.P=function(a,b){return new Sd(b)},Sd.prototype.M=function(){return this.Yc},Sd.prototype.ha=function(){return!1},Sd.prototype.next=function(){return Error("No such element")},Sd.prototype.remove=function(){return Error("Unsupported operation")},Sd.td=function(){return new tg(null,1,5,ug,[vg],null)},Sd.oc=!0,Sd.Ib="cljs.core/t_cljs$core10265",Sd.Uc= -function(a){return M(a,"cljs.core/t_cljs$core10265")};return new Sd(wg)}function xg(a,b){for(;;){if(null==P(b))return!0;var c=Q(b);c=a.b?a.b(c):a.call(null,c);if(D(c))b=R(b);else return!1}}function yg(){this.state=wg;this.Cc=this.gd=this.o=null;this.u=16386;this.i=6455296}g=yg.prototype;g.equiv=function(a){return this.m(null,a)};g.m=function(a,b){return this===b};g.Zb=function(){return this.state};g.M=function(){return this.o}; +function sg(){if("undefined"===typeof Qd||"undefined"===typeof Rd||"undefined"===typeof Sd)Sd=function(a){this.Yc=a;this.i=393216;this.u=0},Sd.prototype.P=function(a,b){return new Sd(b)},Sd.prototype.M=function(){return this.Yc},Sd.prototype.ha=function(){return!1},Sd.prototype.next=function(){return Error("No such element")},Sd.prototype.remove=function(){return Error("Unsupported operation")},Sd.td=function(){return new tg(null,1,5,ug,[vg],null)},Sd.oc=!0,Sd.Ib="cljs.core/t_cljs$core9497",Sd.Uc= +function(a){return M(a,"cljs.core/t_cljs$core9497")};return new Sd(wg)}function xg(a,b){for(;;){if(null==P(b))return!0;var c=Q(b);c=a.b?a.b(c):a.call(null,c);if(D(c))b=R(b);else return!1}}function yg(){this.state=wg;this.Cc=this.gd=this.o=null;this.u=16386;this.i=6455296}g=yg.prototype;g.equiv=function(a){return this.m(null,a)};g.m=function(a,b){return this===b};g.Zb=function(){return this.state};g.M=function(){return this.o}; g.mc=function(a,b,c){a=P(this.Cc);for(var d=null,e=0,f=0;;)if(fdeps.edn

If don’t have a deps.edn file let’s create one now:

-
{:deps  {com.bhauman/figwheel-main {:mvn/version "0.2.8"}
+  
{:deps  {com.bhauman/figwheel-main {:mvn/version "0.2.9"}
          ;; add rebel-readline for advanced REPL readline editing
          com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
  :paths ["src" "target" "resources"]}
diff --git a/helper-resources/public/com/bhauman/figwheel/helper/content/creating_a_build_lein.html b/helper-resources/public/com/bhauman/figwheel/helper/content/creating_a_build_lein.html
index d6db5a6..30e5349 100644
--- a/helper-resources/public/com/bhauman/figwheel/helper/content/creating_a_build_lein.html
+++ b/helper-resources/public/com/bhauman/figwheel/helper/content/creating_a_build_lein.html
@@ -22,7 +22,7 @@ 

project.clj

(defproject lein-main "0.1.0-SNAPSHOT"
   :profiles {:dev {:dependencies
-                   [[com.bhauman/figwheel-main "0.2.8"]
+                   [[com.bhauman/figwheel-main "0.2.9"]
                     [com.bhauman/rebel-readline-cljs "0.1.4"]]}}
   :aliases {"fig" ["trampoline" "run" "-m" "figwheel.main"]})
 
diff --git a/project.clj b/project.clj index 278b66b..79312b2 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject com.bhauman/figwheel-main "0.2.9-SNAPSHOT" +(defproject com.bhauman/figwheel-main "0.2.9" :description "Figwheel Main - Clojurescript tooling." :url "https://github.com/bhauman/figwheel-main" :license {:name "Eclipse Public License - v 1.0" @@ -8,8 +8,8 @@ :dependencies [[org.clojure/clojure "1.9.0"] [org.clojure/clojurescript "1.10.339" :exclusions [commons-codec]] - [com.bhauman/figwheel-repl "0.2.9-SNAPSHOT"] - [com.bhauman/figwheel-core "0.2.9-SNAPSHOT"] + [com.bhauman/figwheel-repl "0.2.9"] + [com.bhauman/figwheel-core "0.2.9"] [com.bhauman/spell-spec "0.1.1"] [com.bhauman/cljs-test-display "0.1.1"] [ring "1.8.1"]