Skip to content

Bug fix and build cleaning

Compare
Choose a tag to compare
@bhauman bhauman released this 06 Jun 00:45
· 113 commits to master since this release

Fixed a major bug introduced in 0.2.7 that caused extra-mains to
overwrite the builds :output-to.

Also added the :clean-outputs Figwheel option that will clean the
compiler's output targets before compiling and starting the build.

Also added the --clean command line option that does the same thing.

Here are some examples of using the --clean CLI option:

# this cleans before building
clojure -m figwheel.main --clean -b dev -r

# this cleans all the builds
clojure -m figwheel.main --clean

# this only cleans the dev build
clojure -m figwheel.main --clean dev