Liking cljdoc? Tell your friends :D

figwheel-sidecar.repl-api


*repl-api-system*clj

source

api-helpclj

(api-help)

Print out help for the Figwheel REPL api

Print out help for the Figwheel REPL api
sourceraw docstring

app-transclj

(app-trans func)
(app-trans func ids)
source

build-onceclj

(build-once & ids)

Compiles the builds with the provided build ids (or the current default ids) once.

Compiles the builds with the provided build ids
(or the current default ids) once.
sourceraw docstring

build-once-from-leinclj

(build-once-from-lein narrowed-project build-ids)
source

call-hook-fnclj

(call-hook-fn ky hook-fn)
source

clean-buildsclj

(clean-builds & ids)

Deletes the compiled artifacts for the builds with the provided build ids (or the current default ids).

Deletes the compiled artifacts for the builds with the provided
build ids (or the current default ids).
sourceraw docstring

cljs-replclj

(cljs-repl)
(cljs-repl id)

Starts a Figwheel ClojureScript REPL for the provided build id (or the first default id).

Starts a Figwheel ClojureScript REPL for the provided build id (or
the first default id).
sourceraw docstring

dispatch-config-sourceclj

(dispatch-config-source project-config-source)
source

fig-statusclj

(fig-status)

Display the current status of the running Figwheel system.

Display the current status of the running Figwheel system.
sourceraw docstring

figwheel-running?clj

(figwheel-running?)
source

launch-from-leinclj

(launch-from-lein narrowed-project build-ids)
source

launch-initclj

(launch-init figwheel-internal-final)
source

(print-config & ids)

Prints out the build configs currently focused or optionally the configs of the ids provided.

Prints out the build configs currently focused or optionally the
configs of the ids provided.
sourceraw docstring

reload-configclj

(reload-config)

Reloads the build config, and resets the autobuild.

Reloads the build config, and resets the autobuild.
sourceraw docstring

remove-systemclj

(remove-system)
source

repl-envclj

(repl-env)
(repl-env id)

Returns repl-env for use in editors with Piggieback support.

Returns repl-env for use in editors with Piggieback support.
sourceraw docstring

reset-autobuildclj

(reset-autobuild)

Stops the currently running autobuilder, cleans the current builds, and starts building the default builds again.

Stops the currently running autobuilder, cleans the current builds,
and starts building the default builds again.
sourceraw docstring

resolve-hook-fnclj

(resolve-hook-fn ky hook)
source

start-autobuildclj

(start-autobuild & ids)

Starts a Figwheel autobuild process for the builds associated with the provided ids (or the current default ids).

Starts a Figwheel autobuild process for the builds associated with
the provided ids (or the current default ids).
sourceraw docstring

start-figwheel!clj

This function will start the figwheel system.

(start-figwheel!)

If called with no arguments it will load and validate the configuration found in your project.clj or a figwheel.edn file in the root of your project. If there is a figwheel.edn file any configuration information found in the project.clj will be ignored.

(start-figwheel! "example" "example-admin" ...)

You can also supply the build ids that you want figwheel to start autobuilding. If these ids aren't available in the builds specified in the found configuration this function will throw an error.

(start-figwheel! ;; using the configuration shape of figwheel.edn {:server-port 5000 :builds [{:id ...}]}

(start-figwheel! ;; using the configuration shape of figwheel.edn {:server-port 5000 :builds (figwheel-sidecar.config/get-project-builds) :builds-to-start ["example"]})

(start-figwheel! ;; using the soon to be deprecated legacy configuration shape {:figwheel-options { :server-port 4000 } :all-builds [{:id ...}] :build-ids ["example"]})

As seen above you can also directly supply a configuration Map that has the shape of a figwheel.edn file or the legacy format which will be deprecated in the near future.

(start-figwheel! (figwheel-sidecar.config/fetch-config) "example" "example-admin")

After supplying a configuration, you can also list the build-ids that you would like to start.

This function will start the figwheel system.

(start-figwheel!)

  If called with no arguments it will load and validate the
  configuration found in your project.clj or a figwheel.edn file in
  the root of your project. If there is a figwheel.edn file any
  configuration information found in the project.clj will be ignored.

(start-figwheel! "example" "example-admin" ...)

  You can also supply the build ids that you want figwheel to start
  autobuilding.  If these ids aren't available in the builds specified
  in the found configuration this function will throw an error.

(start-figwheel!
  ;; using the configuration shape of figwheel.edn
  {:server-port 5000
   :builds [{:id ...}]}

(start-figwheel!
  ;; using the configuration shape of figwheel.edn
  {:server-port 5000
   :builds (figwheel-sidecar.config/get-project-builds)
   :builds-to-start ["example"]})

(start-figwheel!
 ;; using the soon to be deprecated legacy configuration shape
 {:figwheel-options { :server-port 4000 }
  :all-builds [{:id ...}]
  :build-ids ["example"]})

  As seen above you can also directly supply a configuration Map that
  has the shape of a figwheel.edn file or the legacy format which will
  be deprecated in the near future.

(start-figwheel! (figwheel-sidecar.config/fetch-config) "example" "example-admin")

  After supplying a configuration, you can also list the build-ids that
  you would like to start.
sourceraw docstring

start-figwheel-from-leinclj

(start-figwheel-from-lein figwheel-internal-config-data)
source

stop-autobuildclj

(stop-autobuild & ids)

Stops the currently running autobuild process.

Stops the currently running autobuild process.
sourceraw docstring

stop-figwheel!clj

(stop-figwheel!)

If a figwheel process is running, this will stop all the Figwheel autobuilders and stop the figwheel Websocket/HTTP server.

If a figwheel process is running, this will stop all the Figwheel autobuilders and stop the figwheel Websocket/HTTP server.
sourceraw docstring

switch-to-buildclj

(switch-to-build & ids)

Stops the currently running autobuilder and starts building the builds with the provided ids.

Stops the currently running autobuilder and starts building the
builds with the provided ids.
sourceraw docstring

system-assertsclj

(system-asserts)
source

validate-and-return-final-config-dataclj

(validate-and-return-final-config-data narrowed-project build-ids)
source

validate-figwheel-confclj

(validate-figwheel-conf project-config-source options)
source

wrap-destroyclj

(wrap-destroy destroy-hook thunk)
source

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

× close