postcss / postcss-mixins

PostCSS plugin for mixins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

cihadturhan opened this issue · comments

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?

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

@ai will do. Thanks for quick reply.