anchor.diff:      {noreply, hotload_mod(Module, State)};
   handle_cast(reload_all, State) ->
       {noreply, hotload(State#hotbeam_state.apps, State)};
  -handle_cast({lazyload, Mod}, State) ->
  +handle_cast({lazyload, Mod}, State) ->    
  +    ?info("manually recompiling ~p", [Mod]),
       {noreply, case lists:keysearch(Mod, #hotbeam.mod, State#hotbeam_state.beams) of
           {value, #hotbeam{} = HB} -> 
  -            ?info("manually recompiling ~p", [Mod]),
               p_lazy_load(HB, State);
  -        false -> State
  +        false -> 
  +            reload_mod(Mod, State)
       end};
   handle_cast(rehash, State) ->
       {noreply, p_rehash(State)};
  
positive.code:                 {load, {module, Mod}} ->
                      ok = hotload_callback(Mod),
                      magicbeam_srv:event({hotbeam, reload, Mod}),
                      State#hotbeam_state{hotload_count = HC + 1, beams = lists:keystore(Mod, #hotbeam.mod, Beams, HB#hotbeam{beam_time = ?enow()})};
                  {load, {error, E}} -> 
                      ok = ?error("error reloading module ~p: ~p", [Mod, E]),
                      State
              end
  
negative.code:         {mod, _, {value, #hotbeam{beam=B,src=S,beam_time=BT,src_time=ST} = HB}} when Enable == true ->
              SrcTime = p_filetime(S),
              BeamTime = p_filetime(B),
              case {reload, SrcEnable, if ST == error -> 0 ; true -> ST end < SrcTime, if BT == error -> 0 ; true -> BT end < BeamTime} of
                  {reload, true, true, _} -> 
                      ?info("recompiling ~p", [Mod]),
                      p_lazy_load(HB#hotbeam{last = ?enow()}, State);
                  {reload, _, false, true} ->
                      reload_mod(HB#hotbeam{last = ?enow()}, State);
                  {reload, _, _, _} -> State#hotbeam_state{beams = lists:keystore(Mod, #hotbeam.mod, Beams, HB#hotbeam{last = ?enow()})}
              end;
  