anchor.diff:      %% http://bitbucket.org/basho/rebar/issue/5
       %% If the compiler ran, run the preprocess again because a new ebin dir
       %% may have been produced.
  -    {UpdatedConfig1, _} = case (Dirs =/= [] andalso
  -                                    lists:member(compile, Commands)) of
  -                                  true ->
  -                                      acc_modules(
  -                                        select_modules(Modules, preprocess, []),
  -                                        preprocess, UpdatedConfig, ModuleSetFile, []);
  -                                  false ->
  -                                      {UpdatedConfig, Dirs}
  -                              end,
  +    {UpdatedConfig1, _} = case (Dirs =/= [] andalso compile == Command) of
  +                              true ->
  +                                  acc_modules(
  +                                    select_modules(Modules, preprocess, []),
  +                                    preprocess, UpdatedConfig, ModuleSetFile, []);
  +                              false ->
  +                                  {UpdatedConfig, Dirs}
  +                          end,
   
       %% Make sure the CWD is reset properly; processing subdirs may have caused it
       %% to change
  
positive.code:         true ->
              ok;
          false ->
              process_subdirs(Dir, Modules, UpdatedConfig1, ModuleSetFile, Commands,
                              NewProcessedDirs)
      end.
  
  
negative.code:             %% Run the available modules
              case catch(run_modules(TargetModules, Command, Config, ModuleFile)) of
                  ok ->
                      ok;
                  {error, failed} ->
                      ?FAIL;
                  Other ->
  