diff options
Diffstat (limited to 'src/rebar_agent.erl')
-rw-r--r-- | src/rebar_agent.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_agent.erl b/src/rebar_agent.erl index dc45dcf..2b69812 100644 --- a/src/rebar_agent.erl +++ b/src/rebar_agent.erl @@ -104,7 +104,7 @@ refresh_paths(RState) -> ok; {ok, _} -> ?DEBUG("reloading ~p from ~s", [Modules, Path]), - code:replace_path(Name, Path), + code:replace_path(App, Path), [begin code:purge(M), code:delete(M), code:load_file(M) end || M <- Modules] end |