var galv = require('galvatron');
var assign = require('lodash/object/assign');
var test = require('./test');

module.exports = function () {
  galv.watch('test/**', function (opts) {
    test(assign(opts || {}, {
      action: 'watch'
    }));
  });
};

var galv = require('galvatron');
var assign = require('lodash/object/assign');
var test = require('./test');

module.exports = function () {
  galv.watch('test/**', function (opts) {
    test(assign(opts || {}, {
      action: 'watch'
    })).on('error', function(){});
  });
};

Add empty error handler in watch mode so the pipe doesn't break. :
Add empty error handler in watch mode so the pipe doesn't break.
:
