sighjs / sigh

multi-process expressive build system for the web and node.js, built using baconjs observables
209 stars 12 forks source link

Thrown error in plugin does not lift to output #43

Closed Strate closed 8 years ago

Strate commented 8 years ago
export default function(op, opts = {}) {
  if ((!("search" in opts)) || (!("replacement" in opts))) {
    throw new Error("Please provide 'search' and 'replacement' options to 'replace' plugin")
  }

  // rest goes here

actual output (with invalid opts):

% sigh -j 8 -vv
* running pipelines [ build ] with 8 jobs

Expected output should contains error message.

insidewhy commented 8 years ago

This one is really annoying, gotta fix it.

insidewhy commented 8 years ago

Released 0.12.28 with the fix.