UNPKG

multi-branch

Version:

It runs an instance per branch of your node project repository. and let you access different branches by setting a header key

17 lines 533 B
"use strict"; exports.__esModule = true; var _1 = require("."); var wrap_logs_1 = require("./utils/wrap-logs"); var path_1 = require("path"); wrap_logs_1["default"](); _1.MultiBranch.bootstrap({ portENV: "PORT" || "MULTIBRANCH_UI_PORT", branches: ['master'], repoDir: path_1.join(process.cwd(), "..", "example"), restartWait: 1000, reserveStartDelay: 1000 }) .then(function () { })["catch"](function (e) { console.error("Error in MultiBranch bootstrap process !", e); }); //# sourceMappingURL=start.js.map