This feature is now in main and it happens automatically.

On Tue, Nov 7, 2023 at 12:36 Dario Heinisch <dario.heini...@gmail.com>
wrote:

> Hi,
>
> Running mix format on larger projects can be slow since it checks every
> file. I don't think there is currently a way to run it on changed files
> only. Users could run `mix format $(git diff --name-only)` to achieve that
> but I am wondering whether it might be worth also adding this as a flag
> directly to mix format.
>
> I am not sure how this would be implemented. Since the elixir compiler
> only compiles changed files maybe we could leverage the same code?
>
> I would be happy to take a look at this if this proposal is accepted.
>
> Best regards,
> Dario
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elixir-lang-core+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/b1f81fdf-a408-44ac-9e2c-336309fd8c9an%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/b1f81fdf-a408-44ac-9e2c-336309fd8c9an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LQnzZQ27eLiCyLk_H6GTKk%2B2Lx3d8hrzquLVjs0SKSqg%40mail.gmail.com.

Reply via email to