Sha256: 2ebe44ee608ceb41e29978841c0663c73453a1e8fb952b9af863244362b9ab93
Contents?: true
Size: 403 Bytes
Versions: 5
Compression:
Stored size: 403 Bytes
Contents
module EmberCLI class Middleware def initialize(app) @app = app end def call(env) enable_ember_cli EmberCLI.wait! @app.call(env) end private def enable_ember_cli @enabled ||= begin if Helpers.use_live_recompilation? EmberCLI.run! else EmberCLI.compile! end true end end end end
Version data entries
5 entries across 5 versions & 1 rubygems