G-money
2013-Oct-14 14:28 UTC
in dev, how can I make assets/javascripts changes show up in browser (rails 3.2/chrome 21)
Sometimes -- like now -- my favorite dev browser, Chrome (v.21), will not show changes made in my Rails 3.2 assets/javascripts files. Is this a Chrome thing, or how can I get the changes to show up immediately upon page refresh? Thanks, G -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/40be0a1e-3658-43b9-a143-2cf9e65a4369%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Walter Lee Davis
2013-Oct-14 14:46 UTC
Re: in dev, how can I make assets/javascripts changes show up in browser (rails 3.2/chrome 21)
Is this while you are developing on localhost? Do you have the assets pipeline configured correctly in your development.rb environment file? It should be set to auto-recompile on each request. If Chrome is showing you this issue, try using Safari or Firefox and see if the problem travels -- it could be Rails, but it could just be your browser. See if there''s a hidden Chrome option to disable cacheing for certain domains or globally. I have Firefox set to use zero disk and memory cache. Yes, it''s slower for everything, but I don''t have to hold down the Shift key and press Reload to force-refresh while making tiny changes to scripts either, and I don''t use Firefox for daily Web driving anyway. Walter On Oct 14, 2013, at 10:28 AM, G-money wrote:> Sometimes -- like now -- my favorite dev browser, Chrome (v.21), will not show changes made in my Rails 3.2 assets/javascripts files. Is this a Chrome thing, or how can I get the changes to show up immediately upon page refresh? > > Thanks, > > G > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/40be0a1e-3658-43b9-a143-2cf9e65a4369%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0FA58D25-006B-4C58-A9F3-8E50D8BC9C2C%40wdstudio.com. For more options, visit https://groups.google.com/groups/opt_out.
Tamara Temple
2013-Oct-15 00:46 UTC
Re: in dev, how can I make assets/javascripts changes show up in browser (rails 3.2/chrome 21)
On Oct 14, 2013, at 9:28 AM, G-money <gallagher.polyn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Sometimes -- like now -- my favorite dev browser, Chrome (v.21), will not show changes made in my Rails 3.2 assets/javascripts files. Is this a Chrome thing, or how can I get the changes to show up immediately upon page refresh?In Chrome, I turn off caching in the DevTools (it means you need to keep them running, I think.) There''s probably an easier way to get to them, but once I have the DevTools up, I click on the little sprocket in the lower right corner and I can then configure the browser. I don''t know if this will fix your issue, but at least you can be sure it isn''t browser caching that''s the problem. Hope this helps…. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/BAFB2FA0-E6C6-415A-82A9-6683D63FA26A%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.