Skip to content

ng serve command changing default integrated terminal in VS Code from 1:cmd to 1:node & stops detecting file changes #8821

Description

@richierich25

Versions

<!--
Output from: `ng --version`.
If nothing, output from: `node --version` and `npm --version`.
  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
-->
```Angular CLI: 1.6.0
Node: 8.4.0
OS: win32 x64
Angular: 5.1.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.6.0
@angular-devkit/build-optimizer: 0.0.35
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.41
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.0
@schematics/angular: 0.1.10
@schematics/schematics: 0.0.10
typescript: 2.4.2
webpack: 3.10.0

<Windows>
Windows 10

<Visual Studio Code>
Version: 1.18.1

### Repro steps
<!--
Simple steps to reproduce this bug.
Please include: commands run, packages added, related code changes.
A link to a sample repo would help too.
-->
* Step 1 From the Integrated Terminal in VS Code (displaying 1: cmd),, Type `ng serve --open`
* Step 2 This serves the application but changes the intetegrated terminal to (1:node)
* Step 3 Any change in files is not detected & webpack stops compiling automatically


### Observed behavior
The Integrated Terminal changes from 1:cmd to 1:node automatically. Also stops detecting changes & never recompiles on saving changes. 


### Desired behavior
<!--
What would like to see implemented? 
The cmd should remain unchanges and should not trigger the node terminal by itself when using ng serve command.
What is the usecase?
What did you expect to see?
-->


### Mention any other details that might be useful (optional)
Although External Terminal is working fine and is able to detect changes as well . Only the integrated terminal is showing an issue.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentseverity2: inconvenient

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions