Skip to content

Commit

Permalink
release 0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed Apr 16, 2020
1 parent b84e2f6 commit 3389383
Show file tree
Hide file tree
Showing 20 changed files with 82 additions and 78 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.3\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"}}}}" -m figwheel.main
```

This will first compile browser REPL code to a temp directory, and
Expand All @@ -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.3\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
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
```

As of right now using Rebel readline does create some startup overhead
Expand All @@ -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.3"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
Expand Down Expand Up @@ -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.3"]
:dependencies [[com.bhauman/figwheel-main "0.2.4"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
Expand Down Expand Up @@ -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.3"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}
Expand Down Expand Up @@ -477,7 +477,7 @@ anyfile in `target/public` and `resources/public`.

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

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

## Live CSS Reloading
Expand Down
4 changes: 2 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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.4-SNAPSHOT"}
com.bhauman/figwheel-core {:mvn/version "0.2.4-SNAPSHOT"}
com.bhauman/figwheel-repl {:mvn/version "0.2.4"}
com.bhauman/figwheel-core {:mvn/version "0.2.4"}

;; server
ring {:mvn/version "1.7.1"}
Expand Down
16 changes: 12 additions & 4 deletions doc/figwheel-main-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ I.E. If your `example.core` namespace is located at
`:watch-dirs`, you must use the path to the root directory of the
namespace tree `src/cljs`.

:watch-dirs ["src/cljs"]
:watch-dirs ["cljs-src"]

## :css-dirs

Expand Down Expand Up @@ -209,7 +209,7 @@ For the server side:
## :reload-clj-files

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

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

::extra-main-files {:devcards {:main example.devcards}}
:extra-main-files {:devcards {:main example.devcards}}

## :build-inputs

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

# Rarely used options

## :open-url-wait-ms

The number of milliseconds to wait before launching the browser.

Default: none

:open-url-wait-ms 1000

## :cljsjs-resources

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

:hawk-options {:watcher :polling}
:hawk-options {:watcher :polling}
10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.3\"}}}}" -m figwheel.main
clj -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.2.4\"}}}}" -m figwheel.main
```

This will first compile browser REPL code to a temp directory, and
Expand All @@ -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.3\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"}}}}" -m figwheel.main
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
```

As of right now using Rebel readline does create some startup overhead
Expand All @@ -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.3"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}
;; setup some development paths
:paths ["src" "target" "resources"]
Expand Down Expand Up @@ -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.3"]
:dependencies [[com.bhauman/figwheel-main "0.2.4"]
[com.bhauman/rebel-readline-cljs "0.1.4"]]
;; setup target as a resource path
:resource-paths ["target" "resources"]
Expand Down Expand Up @@ -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.3"}
{:deps {com.bhauman/figwheel-main {:mvn/version "0.2.4"}
com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
;; adding re-frame
re-frame {:mvn/version "1.10.5"}}
Expand Down
10 changes: 5 additions & 5 deletions docs/assets/compiled/js/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3389383

Please sign in to comment.