Chris Braddock
2011-Jun-19 16:36 UTC
Rails 3.1 sass - WEBrick restart required to see style changes
Title pretty much says it all. Just converted an app to 3.1 using the asset pipeline and I think this is the last hangup I''ve got. I haven''t seen anything about needing to run a watcher or anything, but right now the only way I can see style changes is to stop/start WEBrick. Help? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ZZ4t-LZTTOEJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Martin Wawrusch
2011-Jun-19 16:40 UTC
Re: Rails 3.1 sass - WEBrick restart required to see style changes
Happens to me to. Sometimes it works for me, sometimes it does not. Same goes for coffeescript. Perfectly working barista install in 3.0, but on 3.1 with the asset pipeline it sporadically does not compile. Are you per any chance using compass too, maybe that''s the culprit? On Sun, Jun 19, 2011 at 9:36 AM, Chris Braddock <braddock.chris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Title pretty much says it all. > > Just converted an app to 3.1 using the asset pipeline and I think this is > the last hangup I''ve got. > > I haven''t seen anything about needing to run a watcher or anything, but > right now the only way I can see style changes is to stop/start WEBrick. > > Help? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/ZZ4t-LZTTOEJ. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Chris Braddock
2011-Jun-19 17:14 UTC
Re: Rails 3.1 sass - WEBrick restart required to see style changes
Yep I am using Compass too. Thanks for the pointer in that direction, I''m looking at their CLI docs now for some "unwatch" command or something. Did you have a bad experience with Compass/3.1? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/y_-3uswQRasJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Martin Wawrusch
2011-Jun-19 17:23 UTC
Re: Rails 3.1 sass - WEBrick restart required to see style changes
I got it to work after some tinkering on a test project, but I am not sure how to proceed. I am going into public beta with a major project soon and I would like to start with Rails 3.1 to reduce migration risk later on but the fact that sprockets and compass don''t work well together is a real bummer. I am probably waiting for a month or so till I am trying this again. Very disappointing. On Sun, Jun 19, 2011 at 10:14 AM, Chris Braddock <braddock.chris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Yep I am using Compass too. Thanks for the pointer in that direction, I''m > looking at their CLI docs now for some "unwatch" command or something. > > Did you have a bad experience with Compass/3.1? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/y_-3uswQRasJ. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Chris Braddock
2011-Jun-19 17:34 UTC
Re: Rails 3.1 sass - WEBrick restart required to see style changes
Thanks for the info. I guess I''ll try removing Compass altogether 1st and see what happens, then reintroduce it, and see again. I''ll post back here if there''s anything interesting to tell. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/6LgbQIg0rAcJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Chris Braddock
2011-Jun-20 18:47 UTC
Re: Rails 3.1 sass - WEBrick restart required to see style changes
Its possibly all working now (a little more time will tell I suppose), but I can verify at least that I just watched some changes apply without restarting WEBrick. The change I added was this: @import "**/*"; to app/assets/application.css.scss per: https://github.com/chriseppstein/compass/issues/337#issuecomment-1399718 I''m a little confused as to what''s happening behind the scenes at this point though ... do I need both the line I just added AND the line I thought was previously importing that code? i.e. /* *= require_directory ./default */ I might just stop at being happy that its working -- at least until the code releases involved get a little more stable. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/BG0X-3-sWBgJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Conrad Taylor
2011-Jun-20 19:07 UTC
Re: Rails 3.1 sass - WEBrick restart required to see style changes
On Sun, Jun 19, 2011 at 9:36 AM, Chris Braddock <braddock.chris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Title pretty much says it all. > > Just converted an app to 3.1 using the asset pipeline and I think this is > the last hangup I''ve got. > > I haven''t seen anything about needing to run a watcher or anything, but > right now the only way I can see style changes is to stop/start WEBrick. > > Help? > >Chris and others, I would highly recommend filing ticket for this issue if one doesn''t already exist so that it''s properly addressed by the Rails core team. Good luck, -Conrad> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/ZZ4t-LZTTOEJ. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.