These are chat archives for opal/opal

27th
Oct 2016
Mitch VanDuyn
@catmando
Oct 27 2016 21:37
@/all I give up! How can I turn off source maps... For whatever reason they are not working with opal-rspec, and I don't honestly care. But yet I get 1 bazillion messages like this:
Started GET "/__OPAL_SOURCE_MAPS__/rspec/matchers/built_in/has.self.map" for ::1 at 2016-10-27 17:34:56 -0400

ActionController::RoutingError (No route matches [GET] "/__OPAL_SOURCE_MAPS__/rspec/matchers/built_in/has.self.map"):
  actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
here are my settings in development.rb:
  config.assets.debug = false #true
  Opal::Processor.source_map_enabled = false
it takes about 10X longer to run the specs because it just hammers away trying to get these non existent source maps.