Pi.Dev (pi_bridge v0.6.22)

Copy Markdown View Source

Small dogfood/dev reload helpers callable from elixir_eval.

Summary

Functions

Compiles the current Mix project.

Returns loaded modules matching optional prefixes.

Requests pi to refresh the dev environment after the current eval returns.

Compiles and soft-reloads matching BEAM modules.

Requests pi to perform a process or extension reload after the current eval returns.

Requests pi to restart the embedded BEAM bridge after the current eval returns.

Returns compact development reload status.

Functions

compile(opts \\ [])

Compiles the current Mix project.

loaded(opts \\ [])

Returns loaded modules matching optional prefixes.

refresh(opts \\ [])

Requests pi to refresh the dev environment after the current eval returns.

reload(opts \\ [])

Compiles and soft-reloads matching BEAM modules.

request(action, opts \\ [])

Requests pi to perform a process or extension reload after the current eval returns.

restart(opts \\ [])

Requests pi to restart the embedded BEAM bridge after the current eval returns.

status(opts \\ [])

Returns compact development reload status.