From 0f524bb6c2efc687956af85150b322b3ed883b03 Mon Sep 17 00:00:00 2001 From: vans163 Date: Fri, 2 Sep 2016 10:12:39 -0400 Subject: delete purge load_file specific order --- src/rebar_agent.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_agent.erl b/src/rebar_agent.erl index 6b4526e..8e1c8f6 100644 --- a/src/rebar_agent.erl +++ b/src/rebar_agent.erl @@ -152,4 +152,4 @@ reload_modules(Modules, true) -> %% Older versions, use a more ad-hoc mechanism. reload_modules(Modules, false) -> - [begin code:purge(M), code:load_file(M) end || M <- Modules]. + [begin code:delete(M), code:purge(M), code:load_file(M) end || M <- Modules]. -- cgit v1.1