LlmCore.Config.Watcher (llm_core v0.3.0)

Copy Markdown View Source

Watches configuration directories for changes and triggers reloads.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the config file watcher GenServer.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()

Starts the config file watcher GenServer.

Options

  • :config_dir - directory to watch (default: project config dir)
  • :debounce_ms - debounce interval in milliseconds (default: 100)
  • :files - list of filenames to watch (default: ["routing.yml", "llm_core.toml"])
  • :name - GenServer name (default: __MODULE__)