Created
October 6, 2016 13:26
-
-
Save kiddkai/776c45ac927265a8e1794709393ba67c to your computer and use it in GitHub Desktop.
Node signal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process.on('SIGINT', () => console.log('I captures sigint')) | |
process.on('SIGTERM', () => console.log('I captures sigterm')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment