Skip to content

Commit

Permalink
bugfix(cli): fix exit
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 committed Jan 18, 2019
1 parent bff4b17 commit fe75195
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/weex.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ if (!sniff.isNewEnough) {
}

require('../lib/cli')(process.argv);

process.on('SIGINT', function () {
process.exit();
});

0 comments on commit fe75195

Please sign in to comment.