Skip to content

Commit 3389383

Browse files
author
Bruce Hauman
committed
release 0.2.4
1 parent b84e2f6 commit 3389383

20 files changed

+82
-78
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ On Mac OSX with brew:
200200
Now launch a ClojureScript REPL with:
201201

202202
```
203-
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.3\"}}}}" -m figwheel.main
203+
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"}}}}" -m figwheel.main
204204
```
205205

206206
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
224224
to your dependencies.
225225

226226
```
227-
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.3\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
227+
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
228228
```
229229

230230
As of right now using Rebel readline does create some startup overhead
@@ -245,7 +245,7 @@ directory of your project.
245245
Ensure your `deps.edn` file has the `figwheel.main` dependencies:
246246

247247
```clojure
248-
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.3"}
248+
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
249249
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
250250
;; setup some development paths
251251
:paths ["src" "target" "resources"]
@@ -311,7 +311,7 @@ directory of your project.
311311
Ensure your `project.clj` file has `figwheel.main` dependencies:
312312

313313
```clojure
314-
:dependencies [[com.bhauman/figwheel-main "0.2.3"]
314+
:dependencies [[com.bhauman/figwheel-main "0.2.4"]
315315
[com.bhauman/rebel-readline-cljs "0.1.4"]]
316316
;; setup target as a resource path
317317
:resource-paths ["target" "resources"]
@@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
449449
a `re-frame` dependency like so:
450450

451451
```clojure
452-
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.3"}
452+
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
453453
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
454454
;; adding re-frame
455455
re-frame {:mvn/version "1.10.5"}}
@@ -477,7 +477,7 @@ anyfile in `target/public` and `resources/public`.
477477

478478
The compiler by default compiles artifacts to `target` for easy cleaning.
479479

480-
It is customary to put your `index.html`, CSS files, and other
480+
It is custmary to put your `index.html`, CSS files, and other
481481
web artifacts in the `resources/public` directory.
482482

483483
## Live CSS Reloading

deps.edn

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
;; DEV for now its easier to use cider with top level deps
55
;; com.bhauman/figwheel-core {:local/root "/Users/bhauman/workspace/figwheel/figwheel-core"}
66
;; com.bhauman/figwheel-repl {:local/root "/Users/bhauman/workspace/figwheel/figwheel-repl"}
7-
com.bhauman/figwheel-repl {:mvn/version "0.2.4-SNAPSHOT"}
8-
com.bhauman/figwheel-core {:mvn/version "0.2.4-SNAPSHOT"}
7+
com.bhauman/figwheel-repl {:mvn/version "0.2.4"}
8+
com.bhauman/figwheel-core {:mvn/version "0.2.4"}
99

1010
;; server
1111
ring {:mvn/version "1.7.1"}

doc/figwheel-main-options.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ I.E. If your `example.core` namespace is located at
5353
`:watch-dirs`, you must use the path to the root directory of the
5454
namespace tree `src/cljs`.
5555

56-
:watch-dirs ["src/cljs"]
56+
:watch-dirs ["cljs-src"]
5757

5858
## :css-dirs
5959

@@ -209,7 +209,7 @@ For the server side:
209209
## :reload-clj-files
210210

211211
Figwheel naively reloads `clj` and `cljc` files on the `:source-paths`.
212-
It doesn't reload clj dependent files like tools.namspace.
212+
It doesn't reload clj dependent files like `tools.namspace`.
213213

214214
Figwheel does note if there is a macro in the changed `clj` or `cljc` file
215215
and then marks any cljs namespaces that depend on the `clj` file for
@@ -505,7 +505,7 @@ Also keep in mind that you can insert extra behavior with `:preloads`
505505
and you can even change the `:target` to `:nodejs` if you want to work
506506
on a Nodejs app in parallel with your main build.
507507

508-
::extra-main-files {:devcards {:main example.devcards}}
508+
:extra-main-files {:devcards {:main example.devcards}}
509509

510510
## :build-inputs
511511

@@ -568,6 +568,14 @@ You can also disable `cljs-test-display` with:
568568

569569
# Rarely used options
570570

571+
## :open-url-wait-ms
572+
573+
The number of milliseconds to wait before launching the browser.
574+
575+
Default: none
576+
577+
:open-url-wait-ms 1000
578+
571579
## :cljsjs-resources
572580

573581
When you use libraries from http://cljsjs.github.io they sometimes
@@ -700,4 +708,4 @@ Default: 8000
700708
If you need to watch files with polling instead of FS events. This can
701709
be useful for certain docker environments.
702710

703-
:hawk-options {:watcher :polling}
711+
:hawk-options {:watcher :polling}

docs/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ On Mac OSX with brew:
200200
Now launch a ClojureScript REPL with:
201201

202202
```
203-
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.3\"}}}}" -m figwheel.main
203+
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"}}}}" -m figwheel.main
204204
```
205205

206206
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
224224
to your dependencies.
225225

226226
```
227-
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.3\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
227+
clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
228228
```
229229

230230
As of right now using Rebel readline does create some startup overhead
@@ -245,7 +245,7 @@ directory of your project.
245245
Ensure your `deps.edn` file has the `figwheel.main` dependencies:
246246

247247
```clojure
248-
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.3"}
248+
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
249249
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
250250
;; setup some development paths
251251
:paths ["src" "target" "resources"]
@@ -311,7 +311,7 @@ directory of your project.
311311
Ensure your `project.clj` file has `figwheel.main` dependencies:
312312

313313
```clojure
314-
:dependencies [[com.bhauman/figwheel-main "0.2.3"]
314+
:dependencies [[com.bhauman/figwheel-main "0.2.4"]
315315
[com.bhauman/rebel-readline-cljs "0.1.4"]]
316316
;; setup target as a resource path
317317
:resource-paths ["target" "resources"]
@@ -449,7 +449,7 @@ ClojureScript searches for source files on the Classpath. When you add
449449
a `re-frame` dependency like so:
450450

451451
```clojure
452-
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.3"}
452+
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
453453
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
454454
;; adding re-frame
455455
re-frame {:mvn/version "1.10.5"}}

docs/assets/compiled/js/main.js

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)