Skip to content

Commit

Permalink
Merge pull request #319 from ant-tool/exitSettimeout
Browse files Browse the repository at this point in the history
feat: exit process
  • Loading branch information
ikobe committed Nov 30, 2018
2 parents 5cc55df + 844bbe6 commit 5c5df55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/atool-build
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ if (program.watch) {
require('../lib/build')(program);
} else {
require('../lib/build')(program, function () {
process.exit(0);
setTimeout(function() {
process.exit(0);
}, 1000);
});
}

Expand Down

0 comments on commit 5c5df55

Please sign in to comment.