#TIL #elixirlang iex에서 모듈을 재컴파일하는 법

iex> c("lib/worker.ex")

모듈을 정의한 파일을 컴파일했는데

iex> r(Test.Worker)

그냥 모듈 이름만 넣어도 된다. iex에서 로드할 때, 파일 정보도 기록하는 모냥.

M-x alchemist-iex-reload-module

emacs를 사용한다면 alchemist를 놓칠 수 없다. 편집하던 버퍼에서 함수를 호출하면 된다.

링크 - IEx.Helpers.r/1

Feedback plz <3 @ohyecloudy, ohyecloudy@gmail.com

A Random Post