hawx/guard-sass

sass exceptions break guard-sass until guard restarted

Closed this issue · 12 comments

Occasionally I botch my stylesheet enough to trigger an exception in Sass. For example:

ERROR: Sass > Syntax error: Invalid CSS after "...x($float: left)": expected "}", was ".left {"
        on line 529 of public/stylesheets/default.scss
ERROR: Guard::Sass failed to achieve its <run_on_change>, exception was:
IndexError: Unknown Keyword: :error
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `block in pack'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `fetch'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `pack'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `block in initialize'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `each'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `initialize'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `new'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `event'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:506:in `_send_command'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:642:in `method_missing'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/growl_notify-0.0.1/lib/growl_notify.rb:36:in `send_notification'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/notifier.rb:58:in `notify_mac'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/notifier.rb:32:in `notify'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.1/lib/guard/sass.rb:102:in `rescue in block in run_on_change'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.1/lib/guard/sass.rb:95:in `block in run_on_change'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.1/lib/guard/sass.rb:93:in `map'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.1/lib/guard/sass.rb:93:in `run_on_change'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:66:in `supervised_task'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:52:in `block in run_on_change_for_all_guards'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:48:in `each'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:48:in `run_on_change_for_all_guards'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:39:in `block (2 levels) in start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:79:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:39:in `block in start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:42:in `call'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:42:in `block in watch'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-fsevent-0.4.3.1/lib/rb-fsevent/fsevent.rb:37:in `call'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-fsevent-0.4.3.1/lib/rb-fsevent/fsevent.rb:37:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:15:in `start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:82:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:59:in `run_on_change_for_all_guards'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:39:in `block (2 levels) in start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:79:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:39:in `block in start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:42:in `call'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:42:in `block in watch'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-fsevent-0.4.3.1/lib/rb-fsevent/fsevent.rb:37:in `call'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-fsevent-0.4.3.1/lib/rb-fsevent/fsevent.rb:37:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:15:in `start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:82:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:59:in `run_on_change_for_all_guards'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:59:in `block in run_on_change_for_all_guards'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:79:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:59:in `run_on_change_for_all_guards'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:39:in `block (2 levels) in start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:79:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:39:in `block in start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:42:in `call'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:42:in `block in watch'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-fsevent-0.4.3.1/lib/rb-fsevent/fsevent.rb:37:in `call'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/rb-fsevent-0.4.3.1/lib/rb-fsevent/fsevent.rb:37:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/listeners/darwin.rb:15:in `start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard.rb:44:in `start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/lib/guard/cli.rb:17:in `start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.6.2/bin/guard:6:in `<top (required)>'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/bin/guard:19:in `load'
/Users/tim-taylor/.rvm/gems/ruby-1.9.2-p180/bin/guard:19:in `<main>'

Guard::Sass has just been fired

Ever after, until I shutdown and restart guard, Guard::Sass is never fired.

Let me know if this should be filed under guard/guard.

hawx commented

I've just pushed 0.3.2 which fixes this issue. If an error is raised it catches it, prints the message without the messy backtrace, and doesn't crash!

Fixed for me, too. Awesome.

I'm still getting this issue

guard (0.7.0)
guard-sass (0.3.3)

ERROR: Sass > Syntax error: Invalid CSS after "...ound-image:url(": expected expression (e.g. fr, 2n+1), was "/interactives/l..."
        on line 73 of stylesheets/race-rundown.scss
ERROR: Guard::Sass failed to achieve its <run_on_change>, exception was:
IndexError: Unknown Keyword: :error
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `block in pack'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `fetch'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `pack'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `block in initialize'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `each'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `initialize'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `new'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `event'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:506:in `_send_command'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:642:in `method_missing'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/growl_notify-0.0.1/lib/growl_notify.rb:36:in `send_notification'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/notifier.rb:58:in `notify_mac'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/notifier.rb:32:in `notify'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:110:in `rescue in block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:96:in `block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:94:in `map'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:94:in `run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:106:in `supervised_task'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:84:in `block (2 levels) in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:80:in `each'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:80:in `block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:95:in `run'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:79:in `run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:50:in `block (2 levels) in start_reactor'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:46:in `loop'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:46:in `block in start_reactor'

Guard::Sass has just been fired
ERROR: Sass > Syntax error: Invalid CSS after "}": expected "}", was ""
        on line 96 of stylesheets/race-rundown.scss
ERROR: Guard::Sass failed to achieve its <run_on_change>, exception was:
IndexError: Unknown Keyword: :error
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `block in pack'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `fetch'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `pack'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `block in initialize'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `each'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `initialize'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `new'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `event'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:506:in `_send_command'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:642:in `method_missing'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/growl_notify-0.0.1/lib/growl_notify.rb:36:in `send_notification'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/notifier.rb:58:in `notify_mac'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/notifier.rb:32:in `notify'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:110:in `rescue in block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:96:in `block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:94:in `map'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.3/lib/guard/sass.rb:94:in `run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:106:in `supervised_task'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:84:in `block (2 levels) in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:80:in `each'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:80:in `block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:95:in `run'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:79:in `run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:50:in `block (2 levels) in start_reactor'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:46:in `loop'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:46:in `block in start_reactor'

Guard::Sass has just been fired
hawx commented

I introduced a bug, which I didn't realise, into the last release which is probably causing the problems. I just released a new version (0.3.4) which fixes them, let me know if this fixes you're problem or not.

Still having the issue. It now mentions run_on_change

guard (0.7.0)
guard-sass (0.3.4)

Guard is now watching at '/Users/julianburgess/interactives/race-rundown'
ERROR: Sass > Syntax error: Invalid CSS after "}": expected "}", was ""
        on line 97 of public/stylesheets/race-rundown.scss
ERROR: Guard::Sass failed to achieve its <run_on_change>, exception was:
IndexError: Unknown Keyword: :error
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `block in pack'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `fetch'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:177:in `pack'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `block in initialize'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `each'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/_aem/send.rb:37:in `initialize'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `new'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/aem.rb:218:in `event'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:506:in `_send_command'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/rb-appscript-0.6.1/lib/appscript.rb:642:in `method_missing'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/growl_notify-0.0.1/lib/growl_notify.rb:36:in `send_notification'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/notifier.rb:58:in `notify_mac'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/notifier.rb:32:in `notify'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.4/lib/guard/sass.rb:110:in `rescue in block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.4/lib/guard/sass.rb:96:in `block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.4/lib/guard/sass.rb:94:in `map'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-sass-0.3.4/lib/guard/sass.rb:94:in `run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:106:in `supervised_task'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:84:in `block (2 levels) in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:80:in `each'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:80:in `block in run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:95:in `run'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard.rb:79:in `run_on_change'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:50:in `block (2 levels) in start_reactor'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:46:in `loop'
/Users/julianburgess/.rvm/gems/ruby-1.9.2-p180/gems/guard-0.7.0/lib/guard/listener.rb:46:in `block in start_reactor'
hawx commented

Could you give a bit more detail:
a) what is your Guardfile
b) how are you changing your scss file to make it break, before and after.

I've just set up a clean project with bundler using --path and it seems to work using this:

@media screen {

body {
  color: red;
}}

by deleting the last brace I can get the same message as you

ERROR: Sass > Syntax error: Invalid CSS after "}": expected "}", was ""
        on line 5 of sass/new.scss

but it doesn't crash.

hawx commented

Could you download this test setup I've been using, run bundle exec guard inside it then delete the last brace in sass/new.scss to see if it crashes?

Thanks, using bundle exec guard fixed it

hawx commented

Great.

Hello, I am having the same problem now, with the following gems installed:
guard (1.6.2)
guard-livereload (1.1.3)
guard-sass (1.0.3)

I am running through bundle exec guard and the error occurs if I write an incomplete line of scss and then switch to my browser to lookup the correct syntax. Any suggestions?

hawx commented

Could you start this in a new issue, and paste in the error trace you get please.

Sure, I opened issue #41.