Skip to content

Fix interactive flag so that it forces REPL even when stdin is not a tty#1019

Merged
cspotcode merged 2 commits intomasterfrom
ab/fix-interactive-flag
Apr 26, 2020
Merged

Fix interactive flag so that it forces REPL even when stdin is not a tty#1019
cspotcode merged 2 commits intomasterfrom
ab/fix-interactive-flag

Conversation

@cspotcode
Copy link
Copy Markdown
Collaborator

Fixes #1013

There's a bug with the --interactive / -i flag where it does not launch the REPL when stdin is not a tty.

This fix makes our behavior match node's -i flag and our help docs.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 26, 2020

Coverage Status

Coverage increased (+0.2%) to 80.088% when pulling 9bd86e8 on ab/fix-interactive-flag into 47a560b on master.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 79.911% when pulling 6a32006 on ab/fix-interactive-flag into 47a560b on master.

@cspotcode cspotcode merged commit 9fee232 into master Apr 26, 2020
@cspotcode cspotcode deleted the ab/fix-interactive-flag branch May 9, 2020 20:25
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.

ts-node -i repl do not fflush stdout

3 participants