Packages

Reprise reloads your modules after they've been recompiled. It is thought as a companion to inotify tools. It scans for changes in beam files belonging to youyr project. Doesn't recompile stuff by itself.

Current section

Files

Jump to
reprise lib reprise.ex
Raw

lib/reprise.ex

defmodule Reprise do
use Application
@moduledoc """
Aplication supervising the `Reprise.Server`.
"""
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
worker(Reprise.Server, [[interval: 1000]])
]
opts = [strategy: :one_for_one, name: Reprise.Supervisor]
Supervisor.start_link(children, opts)
end
end