···7676 `config` frontmatter value.
7777- `maxAttempts`: How many times to attempt the `callback` before giving up.
7878 Defaults to `1` (no retries). If all attempts fail, the webhook is dropped.
7979+- `watch`: If `true`, Lure watches `luresDir` for changes and reloads lures as
8080+ they are added, modified, or removed. Defaults to `false`.
79818082## Generating lures
8183···1541562. Lure traverses the specified directory and discovers any `.lure` files.
1551573. Each `.lure` file has their frontmatter validated. The parsed config and
156158 template content are cached.
159159+4. If `watch` is enabled, a filesystem watcher is started on `luresDir`. When
160160+ a `.lure` file is added or modified, it is re-validated and its cache entry
161161+ updated. If validation fails, the previous cached version is retained and an
162162+ error is logged. When a `.lure` file is removed, its cache entry is
163163+ discarded. Changes take effect immediately — queue processing always uses the
164164+ current cache, so a reload applies to any items already in the queue as well.
157165158166### Per Request
159167