Skip to content

Terminal sends the same lines twice #44192

@dbaeumer

Description

@dbaeumer

See #44018 for the discussion and the consequences.

To reproduce:

  • install tsc 2.7.2
  • create new folder
  • change to folder
  • tsc --init
  • open VS Code
  • create a HelloWorlds.ts
  • Run Task > pick the watch task
  • have auto save one
  • change the HelloWorld.ts a couple of times. At some point the Building... in the status line doesn't disappear anymore.

The underlying reason is that the terminal sends lines twice confusing the tracking of the task output.

capture

As you can see in the above screen shot the FIle change detected line at 11:13:12 is send twice resulting in the task to assume that two builds have started but only one compilation complete is send hence the building is kept.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)tasksTask system issueswindowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions