anchor.diff:  %% -------------------------------------------------------------------
   
   -module(nklib_reloader).
  --export([reload_app/1, remote_reload/2, remote_reload/1]).
  +-export([reload_app/1, remote_reload/2, remote_reload/1, remote_reload_ide/2]).
   -export([get_beams/1]).
   
   %% @doc Reloads all beams on disk for an app(s)
  
positive.code: 
  
  %% @doc Reloads all beams on disk for an app on a remote node
  remote_reload(Node, Apps) ->
      Node2 = nklib_util:to_atom(Node),
      case net_adm:ping(Node2) of
  
negative.code:         pang ->
              {error, not_connected}
      end.
  
  
  %% @doc Reloads all beams on disk for an app on a remote node
  %% supposing the remote node has the beams on disk
  remote_reload_ide(Node, Apps) ->
      Node2 = nklib_util:to_atom(Node),
      case net_adm:ping(Node2) of
          pong ->
              rpc:call(Node2, nklib_reloader, reload_app, [Apps]);
          pang ->
              {error, not_connected}
      end.
  
  
  
  %% @doc Reloads all beams on disk for an app on a remote node
  