Skip to content

Commit

Permalink
Fix for CRTL + C not working in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomt committed Oct 1, 2020
1 parent 9016b2f commit 21ca508
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ program

program.parse(process.argv);

process.on('SIGINT', () => {
console.info('Interrupted');
process.exit(0);
});





0 comments on commit 21ca508

Please # to comment.