Skip to content

Commit 808aa20

Browse files
committed
add small delay on exit from babel
(cherry picked from commit 11961f7)
1 parent 6a7c6a4 commit 808aa20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/babel.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ process.on('message', function (message) {
6262
});
6363

6464
process.on('ava-kill', function () {
65-
process.exit(0);
65+
setTimeout(function () {
66+
process.exit(0);
67+
}, process.env.APPVEYOR ? 100 : 0);
6668
});
6769

6870
process.on('ava-cleanup', function () {

0 commit comments

Comments
 (0)