Make elixir app recompile and reload on source code change

前端 未结 4 912
逝去的感伤
逝去的感伤 2021-02-12 04:07

How to automatically recompile and reload my iex + mix application every time I modify the source code?

If there\'s no way for iex + mix combination to do that, what\'s

4条回答
  •  滥情空心
    2021-02-12 04:19

    Closest thing i know of is in Alchemist for emacs by @tonini. In Alchemist, there's an option to enable

    (setq alchemist-hooks-test-on-save t)
    

    which makes it compile and runs tests when you save.

    https://github.com/tonini/alchemist.el#testing

提交回复
热议问题