Hi everyone and as always, thanks for your amazing work!
Jokes have been lobbied at me in the spirit of the "breaks my worlfow" XKCD [1] - but, please here me out!
Since the (amazing!) 1.13 [2] elixir semantic recompilation changes I can't easily force recompilation on single files.
The best I know how, is adding empty comments to the files. That is fine for single tries. However, for those who know me, I like benchmarking. Particularly, I'd like to use something like hyperfine [3] to benchmark the compilation. I could write scripts to add/remove comments in between but it seems clumsy.
I might be missing a variant to get this done here.If so, I apologize for not first going to elixirforum.
As for _why_ do I want to do this: I have 3 implementations of the same module. I'd really like to compare the impact of the implementation on compilation time (one generates a bunch of functions to pattern match, the other one just uses a map, there is one variant which also does a file read) to provide general guidance on the impact.
I had hoped that I could do `mix compile --force lib/my_file.ex`, but it always compiles everything. Enabling this interface would be my proposal to remedy this, but y'all might have better ideas or tell me it's not worth it :)
Cheers + thanks,
Tobi