if defined?(Konacha)
  require 'rspec'
  require 'ci/reporter/rake/rspec_loader'
  require 'yarjuf'
  Konacha.configure do |config|
    config.spec_dir     = "spec/javascripts"
    config.spec_matcher = /_spec\./
    config.driver       = :poltergeist
    config.stylesheets  = []
    if ENV['JENKINS_URL']
      config.formatters = [
        RspecJunitFormatter.new(
          File.new('tmp/konacha.junit.xml', 'w')
        )]
    end
  end
end

if defined?(Konacha)
  require 'rspec'
  require 'ci/reporter/rake/rspec_loader'
  require 'yarjuf'
  Konacha.configure do |config|
    config.spec_dir     = "spec/javascripts"
    config.spec_matcher = /_spec\./
    config.driver       = :poltergeist
    config.stylesheets  = []
    if ENV['JENKINS_URL']
      puts "!!!!!REOPENING FILE!!!!!"
      config.formatters = [
        RspecJunitFormatter.new(
          File.new('tmp/konacha.junit.xml', 'w')
        )]
    end
  end
end

Add notification when file is opened.
Add notification when file is opened.
