toolsplus / nx-forge

Atlassian Forge plugin for Nx
https://toolsplus.github.io/nx-forge/
MIT License
17 stars 4 forks source link

Improve tunnel executor exit behavior #36

Open tbinna opened 1 year ago

tbinna commented 1 year ago

The tunnel executor introduced in release 1.5.0 lacks a clean exit behavior when the user terminates the forge tunnel process. Currently, the exit command does not propagate to terminate all started processes at once. Instead, the user will have to keep pressing ^ + C in the terminal until all processes exited.

Currently, the first press of ^ + C terminates the process spawned by the forge tunnel command. The second press of ^ + C terminates the forge tunnel process itself and the third press of ^ + C terminates all remaining processes.

The preferred behavior would be the a single press of ^ + C terminates all started processes.