nnirror/facet

UX for killing/stopping/monitoring process

Closed this issue · 2 comments

UX for killing/stopping/monitoring process

plan:

  • add 2 buttons to editor UI: RESTART and END buttons

  • create a third server, js/process_manager.js, running on port 5813.

on click RESTART:

  • send three http requests
    1. http request to transport.js (:3211) closes it down
    2. http request to facet_server.js (:1123) closes it down
    • maybe wait a second before running this next one..
    1. http request to process_manager.js (:5813) execs npm run facet to restart the system

on click END:

  • send three http requests
    1. http request to transport.js (:3211) closes it down
    2. http request to facet_server.js: (:1123) closes it down
    3. http request to process_manager.js: {:5813} closes it down

Implement a solution based on this in v0.5.10:

11114c6