editor_compile
Compiles project scripts outside the editor to return structured errors without touching it, then runs the editor compile and reports whether reload succeeded, was unchanged, or failed.
Instructions
Compiles the project's scripts and returns when the editor has reloaded and settled. The scripts are first compiled outside the editor with the compiler arguments Flax.Build last used (build_check_scripts): errors come back at once, structured (file, line, column, code), and the editor is not touched. A clean check goes on to the editor's compile; its outcome is reloaded, unchanged or failed (build tool lines in BuildErrors). Check says how the check went (passed, failed, or unavailable with the reason). Stops play mode first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | ||
| errors | Yes | ||
| outcome | Yes | ||
| reloads | Yes | ||
| seconds | Yes | ||
| buildErrors | Yes |