View Source PhoenixImportmap.Watcher (Phoenix Importmap v0.1.0)

A child-process which watches watch_dirs for changed files, and (if they are present in the project importmap) copies them to :copy_destination_path.

Public entrypoint is PhoenixImportmap.copy_and_watch/1.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

init(map)

Callback implementation for GenServer.init/1.

start_link(map)