fix(core): now only reacting to tsrun specific CLI calls

This commit is contained in:
2018-06-30 17:59:15 +02:00
parent 8c08cf68d4
commit b6179bf8fc
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ tsNode.register({
}
});
if (process.env.CLI_CALL) {
if (process.env.CLI_CALL_TSRUN) {
// contents of argv array
// process.argv[0] -> node Executable
// process.argv[1] -> tsrun executable