reprise v0.5.1 Reprise.Server
Server scanning project beam files for changes and reloading them.
The server is just repeatedly firing messages in a given time interval
and then delegating the actual work to Reprise.Runner
.
Summary
Functions
Reads or sets the current interval between scans for module changes
Starts the server passing a keyword list of arguments
Functions
Reads or sets the current interval between scans for module changes.
When called without argument, returns the current interval.
When called with argument, sets the interval (in milliseconds) and returns previous one.
Examples
iex> Reprise.Server.interval
1000
iex> Reprise.Server.interval(2000)
{:ok, [prev: 1000]}
Starts the server passing a keyword list of arguments.
Currently valid and required arguments are:
[interval: millis]