andreyfedoseev / django-static-precompiler

Django Static Precompiler provides template tags and filters to compile CoffeeScript, LiveScript, SASS / SCSS, LESS, Stylus, Babel and Handlebars. It works with both inline code and external files.
Other
222 stars 60 forks source link

Output on stderr is always considered an error #83

Closed invliD closed 8 years ago

invliD commented 8 years ago

The sass compiler can output messages like:

DEPRECATION WARNING:
Sass 3.5 will no longer support Ruby 1.9.3.
Please upgrade to Ruby 2.0.0 or greater as soon as possible.

This message is not fatal, and in fact sass still returns the status code 0, but since django-static-precompiler considers any output on stderr an error, the compilation fails anyway.

andreyfedoseev commented 8 years ago

This is fixed in 1.4, it's available on PyPI.