Ctrl + C - not killing the process node server - Ionic Cli 4 beta

#1

I’m having issue with ionic 4 serve. By serving project with ionic serve, first time it serves with default port 8100. After ctrl + C it, again serving it takes port 8101.

That means previous connection is not closed.

This my ionic info:

>ionic info

Ionic:

   ionic (Ionic CLI)  : 4.0.1 (C:\Users\WD\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.1.11

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none

System:

   Android SDK Tools : 25.2.5
   NodeJS            : v8.11.3 (C:\Program Files\nodejs\node.exe)
   npm               : 6.2.0
   OS                : Windows 10

Environment:

   ANDROID_HOME : C:\Users\WD\android-sdk
#2

See https://github.com/ionic-team/ionic-cli/issues/3401