sstephenson / sprockets

Rack-based asset packaging system
2.55k stars 24 forks source link

Can Sprockets::Context new a new instance of Context by `manifest` or IO cache? #739

Closed icai closed 8 years ago

icai commented 9 years ago

Can provide the argument sprockets as a file cache?

  manifest = Sprockets::Manifest.new(environment, manifest_path)
  manifest.compile assets_compile

after I instantiate the function , I close the program. then I want to reuse these compile assets,but I lose the instance of spockets Sprockets::Context.new(sprockets, '', Pathname.new('')).

rafaelfranca commented 8 years ago

This issue was moved to rails/sprockets#167