Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.2
Choose a base ref
...
head repository: TypeStrong/ts-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.0
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Dec 23, 2017

  1. Copy the full SHA
    89d62aa View commit details
  2. 4.1.0

    blakeembrey committed Dec 23, 2017
    Copy the full SHA
    d5a941c View commit details
Showing with 7 additions and 2 deletions.
  1. +1 −1 package.json
  2. +6 −1 src/bin.ts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-node",
"version": "4.0.2",
"version": "4.1.0",
"description": "TypeScript execution environment and REPL for node",
"main": "dist/index.js",
"types": "dist/index.d.ts",
7 changes: 6 additions & 1 deletion src/bin.ts
Original file line number Diff line number Diff line change
@@ -62,7 +62,12 @@ v8flags(function (err, v8flags) {
// are propagated to the process tree, but `kill` is not.
//
// See: https://nodejs.org/api/child_process.html#child_process_options_detached
detached: true,
//
// This fix is not being required on Windows; besides, detached mode
// runs differently on Windows than on other platforms, and it would break
// the behavior of this application. See https://github.com/TypeStrong/ts-node/issues/480
// for more details.
detached: process.platform !== 'win32',
stdio: 'inherit'
}
)