[sprockets-rails] Splitting up files for development

8 views
Skip to first unread message

Jonas Schneider

unread,
Feb 22, 2009, 5:26:57 AM2/22/09
to Prototype: Core
Hey guys,

I want to use sprockets in my rails app (the includes are just so
beautiful). Everything is working fine, but the files are always
concatenated, even in development. This sucks a bit for debugging; is
there an option to just output many javascript_include_tags instead of
generating the whole file?

Thanks,
Jonas

Sam Stephenson

unread,
Feb 23, 2009, 6:22:48 PM2/23/09
to prototy...@googlegroups.com
Hi Jonas-

Please see this ticket for an explanation of why that's not possible:

http://prototype.lighthouseapp.com/projects/8888/tickets/11

Here's a proposal for annotating source lines in the concatenation to
make debugging easier:

http://prototype.lighthouseapp.com/projects/8888/tickets/4

-sam

Reply all
Reply to author
Forward
0 new messages