'use strict';

var rump = module.exports = require('rump');
var configs = require('./configs');
var originalAddGulpTasks = rump.addGulpTasks;

rump.addGulpTasks = function() {
  originalAddGulpTasks();
  require('./gulp');
};

rump.on('update:main', function() {
  configs.rebuild();
  rump.emit('update:static');
});

'use strict';

var rump = module.exports = require('rump');
var configs = require('./configs');
var originalAddGulpTasks = rump.addGulpTasks;

rump.addGulpTasks = function() {
  originalAddGulpTasks();
  require('./gulp');
  return rump;
};

rump.on('update:main', function() {
  configs.rebuild();
  rump.emit('update:static');
});

Return rump on addGulpTasks