diff --git a/dist/early.child.js b/dist/early.child.js index 5015e4d..c8f8148 100644 --- a/dist/early.child.js +++ b/dist/early.child.js @@ -37,7 +37,6 @@ var logEarly = function () { var start = function (moduleNameArg, loaderLengthArg) { if (moduleNameArg === void 0) { moduleNameArg = ""; } if (loaderLengthArg === void 0) { loaderLengthArg = "10"; } - console.log(moduleNameArg); moduleName = moduleNameArg; loaderLength = parseInt(loaderLengthArg); if (!process.env.CI) { @@ -51,4 +50,4 @@ var start = function (moduleNameArg, loaderLengthArg) { }; start(process.env.moduleNameArg, process.env.loaderLengthArg); -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVhcmx5LmNoaWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2Q0FBNkM7QUFDN0MsSUFBSSxNQUFNLEdBQUcsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDO0FBQy9CLElBQU8sUUFBUSxXQUFXLFVBQVUsQ0FBQyxDQUFDO0FBQ3RDLElBQUksRUFBRSxDQUFDO0FBQ1AsSUFBSSxZQUFZLEdBQUc7SUFDZixFQUFFLEdBQUcsUUFBUSxDQUFDLGVBQWUsQ0FBQztRQUM5QixLQUFLLEVBQUUsT0FBTyxDQUFDLEtBQUs7UUFDcEIsTUFBTSxFQUFFLE9BQU8sQ0FBQyxNQUFNO0tBQ3JCLENBQUMsQ0FBQztBQUNQLENBQUMsQ0FBQztBQUVGLElBQUksVUFBaUIsQ0FBQztBQUN0QixJQUFJLFlBQW1CLENBQUM7QUFDeEIsSUFBSSxZQUFZLEdBQVUsQ0FBQyxDQUFDO0FBRTVCLElBQUksU0FBUyxHQUFHO0lBQ1osSUFBSSxZQUFZLEdBQVUsR0FBRztVQUN2QixHQUFHLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxZQUFZLENBQUM7VUFDOUIsR0FBRyxDQUFDLE1BQU0sQ0FBQyxZQUFZLEdBQUcs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3RyaW5nO1xyXG59O1xyXG5cclxubGV0IGxvZ0Vhcmx5ID0gKCkgPT4ge1xyXG4gICAgcmwud3JpdGUobnVsbCwge2N0cmw6IHRydWUsIG5hbWU6ICd1J30pO1xyXG4gICAgcmwud3JpdGUobWFrZUZyYW1lKCkpO1xyXG4gICAgc2V0VGltZW91dChmdW5jdGlvbigpe1xyXG4gICAgICAgIGxvZ0Vhcmx5KCk7XHJcbiAgICB9LDIwMCk7XHJcbn07XHJcblxyXG5sZXQgc3RhcnQgPSBmdW5jdGlvbihtb2R1bGVOYW1lQXJnOnN0cmluZyA9IFwiXCIsbG9hZGVyTGVuZ3RoQXJnOnN0cmluZyA9IFwiMTBcIil7XHJcbiAgICBtb2R1bGVOYW1lID0gbW9kdWxlTmFtZUFyZztcclxuICAgIGxvYWRlckxlbmd0aCA9IHBhcnNlSW50KGxvYWRlckxlbmd0aEFyZyk7XHJcbiAgICBpZiAoIXByb2Nlc3MuZW52LkNJKXtcclxuICAgICAgICBpbml0UmVhZGxpbmUoKTtcclxuICAgICAgICBsb2dFYXJseSgpO1xyXG4gICAgfSBlbHNlIHtcclxuICAgICAgICBjb25zb2xlLmxvZyhcIioqKiogc3RhcnRpbmcgXCIgKyBtb2R1bGVOYW1lLmN5YW4gKyBcIiAqKioqXCIpO1xyXG4gICAgfTtcclxufTtcclxuXHJcbnN0YXJ0KHByb2Nlc3MuZW52Lm1vZHVsZU5hbWVBcmcscHJvY2Vzcy5lbnYubG9hZGVyTGVuZ3RoQXJnKTsiXX0= diff --git a/dist/index.js b/dist/index.js index f4992c4..190e537 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9,7 +9,8 @@ exports.start = function (moduleNameArg, loaderLengthArg) { earlyChild = childProcess.fork(path.join(__dirname, "early.child.js"), [], { env: { moduleNameArg: moduleNameArg, - loaderLengthArg: loaderLengthArg + loaderLengthArg: loaderLengthArg, + CI: process.env.CI } }); }; @@ -17,4 +18,4 @@ exports.stop = function () { earlyChild.kill(); }; -//# s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--git a/ts/index.ts b/ts/index.ts index 1e82b8b..f532479 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -9,7 +9,8 @@ export let start = function(moduleNameArg:string = "",loaderLengthArg:string = " earlyChild = childProcess.fork(path.join(__dirname,"early.child.js"),[],{ env: { moduleNameArg:moduleNameArg, - loaderLengthArg:loaderLengthArg + loaderLengthArg:loaderLengthArg, + CI: process.env.CI } }); };