Lissome.GleamReloader (Lissome v0.3.1)
View SourceA GenServer
to watch for changes to Gleam files and recompile them.
This module requires the FileSystem
package, which is not included with Lissome. In typical Phoenix projects, FileSystem
is already available in the :dev
environment through phoenix_live_reload
.
Summary
Functions
Registers a new target for the Gleam reloader to watch and compile.
Starts the Gleam reloader GenServer.
Functions
Registers a new target for the Gleam reloader to watch and compile.
This function starts a new reloader GenServer if one doesn't exist, or adds the target to an existing GenServer.
Starts the Gleam reloader GenServer.