UNPKG

deepify

Version:
18 lines (15 loc) 417 B
/** * Created by CCristi on 2/6/17. */ 'use strict'; module.exports = function(mainPath) { require('./_replicate')({ context: this, mainPath: mainPath, afterLoad: (replicationInstance, tables, blueHash, greenHash) => { return replicationInstance.start(tables).then(() => { console.log(`Data Replication between "${blueHash}" and "${greenHash}" is running.`); }); }, }); };