lib/guard/cucumber.rb
# 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
#
Gets called when watched paths and files have changes.
Gets called when watched paths and files have changes .
def run_on_modifications(paths)
      paths += @failed_paths if @options[:keep_failed]
      paths = Inspector.clean(paths, options[:feature_sets])
      options = @options
      if @options[:change_format]
        options = change_format(@options[:change_format])
      end
      msg = "Running all features"
      options.merge!(message: msg) if paths.include?("features")
      _run(paths, options)
    end
def run_on_modifications ( paths ) paths += @failed_paths if @options [ :keep_failed ] paths = Inspector . clean ( paths , options [ :feature_sets ] ) options = @options if @options [ :change_format ] options = change_format ( @options [ :change_format ] ) end msg = "Running all features" options . merge! ( message : msg ) if paths . include? ( "features" ) _run ( paths , options ) end
Gets called when watched paths and files have changes.
Gets called when watched paths and files have changes .
[:task_has_failed] when stop has failed
[ : task_has_failed ] when stop has failed
paths
paths the changed paths and files
paths the changed paths and files