shake-n-bake
Just save your code to recompile and test it.
Piece o cake!
Install
Simply add it to your dependencies in mix.exs:
def deps do
[
{:shake_n_bake, "~> 0.1.0", only: :dev}
]
endConfigure
In your config/config.exs file, add:
config :shake_n_bake,
run_tests: true,
test_cmd: "mix test",
paths: ['./lib']The following configurations are available:
run_tests- Set totrueto run your tests on recompile.test_cmd- Shell command to use for tests.paths- List of paths to check for modified files in