GDGToulouse / devfest-embedded-devices-monorepo

The monorepo to manage embedded devices we put in each room during the DevFest Toulouse, the devices are here to assist us during the event.
MIT License
9 stars 3 forks source link

Python process incorrectly killed #43

Closed hadrien-toma closed 4 years ago

hadrien-toma commented 4 years ago

Bug report

Description

When interrupted the Python Flask script is not killed so it connot be ran twice without manually kill the process (address already in use).

To Reproduce

  1. npm start
  2. CTRL+C
  3. npm start

Expected behavior

Two npm start should result on the same behaviour.

Environment

> yarn run print-envs

node --version
v13.11.0
npm --version
6.14.1
yarn --version
1.21.1
yarn run ng --version
yarn run v1.21.1
$ ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 9.0.4
Node: 13.11.0
OS: linux x64

Angular: 9.0.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.900.4
@angular-devkit/build-angular      0.900.1
@angular-devkit/build-ng-packagr   0.900.4
@angular-devkit/build-optimizer    0.900.1
@angular-devkit/build-webpack      0.900.1
@angular-devkit/core               9.0.4
@angular-devkit/schematics         9.0.4
@angular-devkit/schematics-cli     0.13.8
@angular/cdk                       9.1.0
@angular/material                  9.1.0
@ngtools/webpack                   9.0.1
@schematics/angular                9.0.4
@schematics/schematics             0.13.8
@schematics/update                 0.900.4
ng-packagr                         9.0.2
rxjs                               6.5.4
typescript                         3.7.5
webpack                            4.41.2

Done in 1.19s.
python --version
Python 3.7.3
pip --version
pip 19.1.1 from /home/hadrien_toma_1/anaconda3/lib/python3.7/site-packages/pip (python 3.7)