A task to precompile only assets that have changed since the last compilation would be awesome. This would help speed up deployments since all assets would not have to be precompiled every time. Something like rake assets:precompile:changed would probably be nice. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/gk5w27ETNWYJ. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Rodrigo Rosenfeld Rosas
2012-Jul-13 16:21 UTC
Re: Ability to precompile only changed assets
+1000 Em 13-07-2012 11:16, emachnic escreveu:> > A task to precompile only assets that have changed since the last > compilation would be awesome. This would help speed up deployments > since all assets would not have to be precompiled every time. > > Something like |rake assets:precompile:changed| would probably be nice. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
I was planning to build this feature and submit a pull request but I wasn''t sure where to actually find the code that handles the asset compiling. Is this part of the Rails core or an external gem(s)? On Fri, Jul 13, 2012 at 8:16 AM, emachnic <emachnic@engineyard.com> wrote:> A task to precompile only assets that have changed since the last > compilation would be awesome. This would help speed up deployments since > all assets would not have to be precompiled every time. > > Something like rake assets:precompile:changed would probably be nice. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-core/-/gk5w27ETNWYJ. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
It''s in sprockets: https://github.com/sstephenson/sprockets -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
+1 I''d love to see this feature... Sent from my iPad On Jul 13, 2012, at 9:40 AM, Steve Klabnik <steve@steveklabnik.com> wrote:> It''s in sprockets: https://github.com/sstephenson/sprockets > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.