# `mix compile.arc`
[🔗](https://github.com/Cratis/Arc.Elixir/blob/main/lib/mix/tasks/compile.arc.ex#L4)

Regenerates TypeScript proxies after each compile. Opt in by adding the compiler:

    def project do
      [
        # ...
        compilers: Mix.compilers() ++ [:arc],
        arc: [application: MyApp.Arc, output: "assets/src/arc"]
      ]
    end

Without `arc: [application: ..., output: ...]` the compiler does nothing, so adding it to a
project that does not use React is harmless. Under `mix phx.server`, Phoenix's code reloader
runs the project's compilers, so proxies follow your edits.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
