This commit is contained in:
2016-05-23 04:51:45 +02:00
parent 102d384de5
commit 6db7cc0e14
2 changed files with 6 additions and 8 deletions

View File

@ -1,12 +1,12 @@
/// <reference path="./typings/index.d.ts" />
let colors = require("colors");
let readline = require("readline");
import colors = require("colors");
import path = require("path");
import childProcess = require("child_process");
let earlyChild;
// exports
export let start = function(moduleNameArg:string = "",loaderLengthArg:string = "10"){
earlyChild = childProcess.fork("./dist/early.child.js",[],{
earlyChild = childProcess.fork(path.join(__dirname,"early.child.js"),[],{
env: {
moduleNameArg:moduleNameArg,
loaderLengthArg:loaderLengthArg