watch_log_start
Starts a background watcher for gen/log.txt to parse Lua errors and engine warnings, map them to mod source with excerpts, and keep running across log recreation.
Instructions
Start a background watcher on gen/log.txt (from the current end, or from_start=true). It parses Lua run/compile errors and engine warnings, maps them to the draft or cached mod source (explicit /modsStorage path or [string "..."] chunk preview) with a code excerpt, and survives log recreation at game start. Read events with watch_log_poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | No | ||
| from_start | No |