require 'bundler'
Bundler.require

require 'opal/spec/server'

# method_missing can be turned off if required (on by default)
# Opal::Processor.method_missing_enabled = false

# Run in non-debug mode (faster, all files concatenated into 1 file)
run Opal::Spec::Server.new { |s|
  s.debug = false
}

# Run in debug mode - all files loaded seperately, but slower
# run Opal::Spec::Server.new { |s|
#   s.debug = true
# }

require 'bundler'
Bundler.require

run Opal::Server.new { |s|
  s.main = 'opal/spec/sprockets_runner'
  s.append_path 'spec'
  s.debug = false
}

Use Opal::Server directly for running specs
Use Opal::Server directly for running specs
