fix(gulpfile): emit "end" in errorHandler for test() and compile()

This fixes a bug: watch() doesn't rerun tasks after error.