def run_on_modifications(paths)
      changed_files, success = Runner.run(Inspector.clean(paths), watchers, options)

      throw :task_has_failed unless success
    end
def run_on_modifications(paths)
      changed_files, success = Runner.run(Inspector.clean(paths), watchers, options)

      throw :task_has_failed unless success
    end
Gets called when watched paths and files have changes.

 @param [Array<String>] paths the changed paths and files
 @raise [:task_has_failed] when stop has failed