Commit dd1d0a9
fix: reenable compile task before running queued tasks
When igniter writes newly generated source files to disk and then runs
queued tasks (like `ash.codegen`), those tasks call
`Mix.Task.run("compile")` which is a no-op because compile already ran
earlier in the igniter pipeline — before the new files existed.
This causes `Code.ensure_compiled/1` to fail with `:nofile` for any
modules that were generated during the install process.
Fix by re-enabling compile, app.config, and loadpaths before each
queued task so that downstream tasks can trigger a fresh compilation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 42779cf commit dd1d0a9
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2132 | 2132 | | |
2133 | 2133 | | |
2134 | 2134 | | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
2135 | 2143 | | |
2136 | 2144 | | |
2137 | 2145 | | |
| |||
0 commit comments