Skip to content

Commit

Permalink
bin/jade.js: Exit though process exit handler
Browse files Browse the repository at this point in the history
This allows testing coverage for watching mode with istanbul.
  • Loading branch information
TimothyGu committed Jan 1, 2015
1 parent 484ab46 commit b079489
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/jade.js
Expand Up @@ -125,6 +125,9 @@ if (files.length) {
}
});
});
process.on('SIGINT', function() {
process.exit(1);
});
} else {
files.forEach(renderFile);
}
Expand Down

0 comments on commit b079489

Please sign in to comment.