Removing subprocess. by stelcheck · Pull Request #499 · TypeStrong/ts-node · GitHub
Skip to content

Removing subprocess.#499

Closed
stelcheck wants to merge 1 commit into
TypeStrong:masterfrom
stelcheck:chores/remove-spawn
Closed

Removing subprocess.#499
stelcheck wants to merge 1 commit into
TypeStrong:masterfrom
stelcheck:chores/remove-spawn

Conversation

@stelcheck

@stelcheck stelcheck commented Dec 20, 2017

Copy link
Copy Markdown
Contributor

This commit:

  1. Cleans up how the code is loaded
  2. Removes the necessity to use 'spawn'

Replaces #476
Replaces #489

Fixes #459
Fixes #471
Fixes #480
Fixes #487
Fixes #498

(phew - hope I don't forget anyone!)

This commit:

  1. Cleans up how the code is loaded
  2. Removes the necessity to use 'spawn'

Replaces TypeStrong#476
Replaces TypeStrong#489
@coveralls

Copy link
Copy Markdown

1 similar comment
@coveralls

coveralls commented Dec 20, 2017

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.7%) to 76.75% when pulling b7d4312 on stelcheck:chores/remove-spawn into 129153f on TypeStrong:master.

@stelcheck

Copy link
Copy Markdown
Contributor Author

One question: I expect that the way I extract flags from minimist that there could be collisions between userland flags and ts-node flags.

@blakeembrey

Copy link
Copy Markdown
Member

@stelcheck I think I'm missing something here. How are you using the node.js flags?

@blakeembrey

Copy link
Copy Markdown
Member

For reference, it seems like this is undoing #131?

@stelcheck

Copy link
Copy Markdown
Contributor Author

Right... I was thinking they would get applied, but you are right.

I guess we have two options:

  1. Revert to a wrapper not written in Node
  2. Direct users to use NODE_OPTIONS

The first option would be tricky to implement properly I think, so I am trying to implement tjis without a wrapper. What is you take on it?

@blakeembrey

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants