Liking cljdoc? Tell your friends :D
Mostly clj.
Exceptions indicated.

figwheel.main


*base-config*clj

source

*config*clj

source

-mainclj

(-main & orig-args)
source

add-temp-dirclj

(add-temp-dir cfg)
source

add-to-queryclj

(add-to-query uri query-map)
source

adjust-option-docsclj

(adjust-option-docs commands)
source

background-buildclj

(background-build cfg {:keys [id config options]})
source

background-build-optclj

(background-build-opt cfg bn)
source

bound-var?clj

(bound-var? sym)
source

buildclj

(build {:keys [watch-dirs mode :figwheel.main/build] :as config} options cenv)
source

build-cljsclj

source

build-main-optclj

(build-main-opt repl-env-fn [_ build-name & args] cfg)
source

build-onceclj/smacro

(build-once & build-ids)

Forces a single compile of the provided build ids.

Forces a single compile of the provided build ids.
sourceraw docstring

build-once*clj

(build-once* ids)
source

build-once-main-optclj

(build-once-main-opt repl-env-fn [_ build-name & args] cfg)
source

build-once-optclj

(build-once-opt cfg bn)
source

build-optclj

(build-opt cfg bn)
source

cleanclj/smacro

(clean & build-ids)

Takes one or more builds ids and deletes their compiled artifacts.

Takes one or more builds ids and deletes their compiled artifacts.
sourceraw docstring

clean*clj

(clean* ids)
source

clean-buildclj

(clean-build {:keys [output-to output-dir]})
source

compile-opts-optclj

(compile-opts-opt cfg copts)
source

config-ansi-color-output!clj

(config-ansi-color-output! {:keys [:figwheel.main/config] :as cfg})
source

config-cleanclj

(config-clean cfg)
source

config-connect-urlclj

(config-connect-url {:keys [:figwheel.main/config repl-env-options] :as cfg}
                    connect-id)
source

config-finalize-repl-optionsclj

(config-finalize-repl-options cfg)
source

config-for-idclj

(config-for-id id)
source

config-log-syntax-error-style!clj

(config-log-syntax-error-style! {:keys [:figwheel.main/config] :as cfg})
source

config-open-file-commandclj

(config-open-file-command {:keys [:figwheel.main/config options] :as cfg})
source

config-repl-connectclj

(config-repl-connect {:keys [:figwheel.main/config options :figwheel.main/build]
                      :as cfg})
source

config-set-log-level!clj

(config-set-log-level! {:keys [:figwheel.main/config] :as cfg})
source

config-watch-cssclj

(config-watch-css {:keys [:figwheel.main/config options] :as cfg})
source

currently-available-idsclj

(currently-available-ids)
source

currently-watched-idsclj

(currently-watched-ids)
source

default-compileclj

(default-compile repl-env-fn cfg)
source

default-mainclj

(default-main repl-env-fn cfg)
source

default-main-repl-index-bodyclj

source

default-output-dircljmultimethod

source

default-output-dir*clj

(default-output-dir* target & [scope])
source

default-output-tocljmultimethod

source

default-output-to*clj

(default-output-to* target & [scope])
source

default-target-dirclj

source

extra-config-mergeclj

(extra-config-merge a' b')
source

fallback-idclj

(fallback-id edn)
source

fetch-figwheel-main-ednclj

(fetch-figwheel-main-edn cfg)
source

fig-core-buildclj

source

figure-default-asset-pathclj

(figure-default-asset-path {:keys [figwheel-options options
                                   :figwheel.main/config :figwheel.main/build]
                            :as cfg})
source

figwheel-commandsclj

source

figwheel-mode?clj

(figwheel-mode? {:keys [:figwheel.main/config options]})
source

figwheel-optclj

(figwheel-opt cfg bl)
source

figwheel-opts-optclj

(figwheel-opts-opt cfg ropts)
source

fill-connect-url-templateclj

(fill-connect-url-template url host server-port)
source

fix-simple-bool-arg*clj

(fix-simple-bool-arg* flags args)
source

fix-simple-bool-argsclj

(fix-simple-bool-args flags args)
source

get-buildclj

(get-build bn)
source

get-edn-file-keyclj

(get-edn-file-key edn-file key)
(get-edn-file-key edn-file key default)
source

get-repl-env-optionsclj

(get-repl-env-options {:keys [repl-env-options :figwheel.main/config] :as cfg})
source

get-repl-optionsclj

(get-repl-options {:keys [options args inits repl-options] :as cfg})
source

help-optclj

(help-opt repl-env _ _)
source

help-strclj

(help-str repl-env)
source

help-templateclj

source

host-port-arg?clj

(host-port-arg? arg)
source

hydrate-all-background-buildsclj

(hydrate-all-background-builds cfg ids)
source

in-nrepl?clj

(in-nrepl?)
source

load-edn-optsclj

(load-edn-opts str)
source

log-server-startclj

(log-server-start repl-env)
source

main-build?clj

(main-build? id)
source

make-temp-dirclj

(make-temp-dir)
source

merge-metaclj

(merge-meta m m)
source

nrepl-replclj

(nrepl-repl repl-env repl-options)
source

prep-client-configclj

(prep-client-config config)
source

(print-conf cfg)
source

(print-config-opt cfg opt)
source

process-figwheel-main-ednclj

(process-figwheel-main-edn {:keys [ring-handler] :as main-edn})
source

process-uniqueclj

source

read-edn-fileclj

(read-edn-file f)
source

read-edn-optsclj

(read-edn-opts str)
source

read-edn-stringclj

(read-edn-string s & [fail-msg])
source

reload-config*clj

(reload-config*)
source

replclj

(repl repl-env repl-options)
source

repl-api-docsclj

(repl-api-docs)
source

repl-caughtclj

(repl-caught err repl-env repl-options)
source

repl-connection?clj

(repl-connection? {:keys [:figwheel.main/config options] :as cfg})
source

repl-env-opts-optclj

(repl-env-opts-opt cfg ropts)
source

repl-headerclj

source

repl-main-optclj

(repl-main-opt repl-env-fn args cfg)
source

resetclj/smacro

(reset & build-ids)

If no args are provided, all current builds will be cleaned and restarted. Otherwise, this will clean and restart the provided build ids.

If no args are provided, all current builds will be cleaned and restarted.
Otherwise, this will clean and restart the provided build ids.
sourceraw docstring

reset*clj

(reset* ids)
source

select-autobuild-watchesclj

(select-autobuild-watches ids)
source

serveclj

(serve {:keys [repl-env repl-options eval-str join?]})
source

serve-main-optclj

(serve-main-opt repl-env-fn args b-cfg)
source

should-add-temp-dir?clj

(should-add-temp-dir? cfg)
source

startclj

(start & args)

Starts Figwheel.

Example:

(start "dev") ;; will look up the configuration from figwheel-main.edn ;; and dev.cljs.edn

With inline build config: (start {:id "dev" :options {:main 'example.core}})

With inline figwheel config: (start {:css-dirs ["resources/public/css"]} "dev")

With inline figwheel and build config: (start {:css-dirs ["resources/public/css"]} {:id "dev" :options {:main 'example.core}})

If you don't want to launch a REPL: (start {:css-dirs ["resources/public/css"] :mode :serve} {:id "dev" :options {:main 'example.core}})

Starts Figwheel.

Example:

(start "dev") ;; will look up the configuration from figwheel-main.edn
                ;; and dev.cljs.edn

With inline build config:
(start {:id "dev" :options {:main 'example.core}})

With inline figwheel config:
(start {:css-dirs ["resources/public/css"]} "dev")

With inline figwheel and build config:
(start {:css-dirs ["resources/public/css"]}
       {:id "dev" :options {:main 'example.core}})

If you don't want to launch a REPL:
(start {:css-dirs ["resources/public/css"]
        :mode :serve}
       {:id "dev" :options {:main 'example.core}})
sourceraw docstring

start*clj

(start* join-server? build)
(start* join-server? figwheel-options build & background-builds)
source

start-background-buildsclj

(start-background-builds {:keys [:figwheel.main/background-builds] :as cfg})
source

start-build-arg->build-optionsclj

(start-build-arg->build-options build)
source

start-buildsclj/smacro

(start-builds & build-ids)

Takes one or more build names and starts them building.

Takes one or more build names and starts them building.
sourceraw docstring

start-builds*clj

(start-builds* ids)
source

start-file-loggerclj

(start-file-logger)
source

start-joinclj

(start-join & args)

Starts figwheel and blocks, useful when starting figwheel as a server only i.e. :mode :serve from a script.

Starts figwheel and blocks, useful when starting figwheel as a
server only i.e. `:mode :serve`  from a script.
sourceraw docstring

statusclj/smacro

(status)

Displays the build ids of the builds are currently being watched and compiled.

Displays the build ids of the builds are currently being watched and compiled.
sourceraw docstring

status*clj

(status*)
source

stop-buildsclj/smacro

(stop-builds & build-ids)

Takes one or more build ids and stops watching and compiling them.

Takes one or more build ids and stops watching and compiling them.
sourceraw docstring

stop-builds*clj

(stop-builds* ids)
source

update-configclj

(update-config cfg)
source

update-server-host-portclj

(update-server-host-port config [f address-port & args])
source

validate-cli!clj

(validate-cli! cli-args & [succ-msg])
source

validate-cli!*clj

source

validate-config!clj

(validate-config! spec edn fail-msg & [succ-msg])
source

validate-config!*clj

source

validate-fix-target-classpath!clj

(validate-fix-target-classpath! {:keys [:figwheel.main/config
                                        :figwheel.main/build options]})
source

warn-on-bad-idclj

(warn-on-bad-id ids)
source

watch-buildclj

(watch-build id inputs opts cenv & [reload-config])
source

watch-cssclj

(watch-css css-dirs)
source

watch-dir-from-nsclj

(watch-dir-from-ns main-ns)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close