hawx / guard-sass

Guard::Sass automatically rebuilds sass files when modified (like sass --watch)
MIT License
88 stars 35 forks source link

"stack level too deep" error when sass partial is modified #20

Closed enure closed 13 years ago

enure commented 13 years ago

repro

  1. download zip: http://d.pr/R9D3 (I used the error-test.zip that you had created for another bug)
  2. unarchive zip
  3. run bundle install
  4. run bundle exec guard
  5. touch new.scss and new.css is built as expected
  6. touch _west.scss and it throws an error: https://gist.github.com/1276096

Note if I change the Gemfile to require guard-sass 0.3.4 this error does not occur. It does occur while using 0.4.0 and 0.5.0.

My co-worker cannot repro this issue, so I am not sure it will repro for everyone.

Thanks for any help.

hawx commented 13 years ago

I can understand why they might not have been able to reproduce the error, it was silently causing an infinite loop. I've fixed the problem and pushed v0.5.1 to rubygems. Thanks for alerting me.