postcss / postcss-mixins

PostCSS plugin for mixins
MIT License
466 stars 47 forks source link

Plugin causes webpack watch to stop when it throws "Undefined mixin" error #77

Closed cihadturhan closed 7 years ago

cihadturhan commented 7 years ago

If you type name of the mixin incorrectly, e.g.

@mixin imagePlaceholde; /*<-- let's say we forgot "r" */

this causes webpack watcher to stop. You have to restart webpack dev server and sometimes this could be frustrating. I tried {silent: true} but it doesn't show any error so that is not a solution.

Is there any solution?

ai commented 7 years ago

@cihadturhan you should send issue to postcss-loader. It is related to all PostCSS plugins not only this one.

cihadturhan commented 7 years ago

@ai will do. Thanks for quick reply.