Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am using Jammit for asset management and Barista for compiling coffeescript on the fly with a Rails 3.0.7 project.

Any comparisons between Jammit and Sprocket will be welcome.



So far, it looks like the only real differences are:

* jammit uses config/assets.yml, sprockets uses inline requires

* jammit loads individual files in development, sprockets concatenates

* sprockets compiles coffee with :bare => false by default. I don't know what barista's default is


for large js projects, sprockets is a nightmare. trying to add a breakpoint in a 5,000 line javascript file is really really frustrating.

Would love to see a workaround in sprockets (to make each js file included separately in dev mode), but until then I'd say Jammit is the way to go.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: