anchor.diff:  %%% Internal functions
   %% --------------------------------------------------------------------
   setup_watcher([], Watches) ->
  -    lager:info(".... ~p", [Watches]),
       Watches;
   setup_watcher([{Path, Flags}|Tail], Watches) ->    
       IoDevice= open(Path),
  
positive.code: %%          {stop, Reason, State}            (terminate/2 is called)
  %% --------------------------------------------------------------------
  handle_info({fevent, Wd, Flags, Path, Name} = Msg, #state{watches = Watches} = State) ->
      io:format("~p ~p ~p ~p", [Wd, Flags, Path, Name]),
      case maps:get(Path, Watches) of
          {_P, IoDevice} -> read_line(IoDevice, Path);
          _ -> ok
      end,
      {noreply, State};
  
negative.code: handle_info(timeout, State) ->
      Config = janga_config:get_notify(),
      Watches = setup_watcher(Config, #{}),
      {noreply, State#state{watches = Watches}};
  
  handle_info(Info, State) ->
  