We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I create a grunt plugin , when I press ctrl+c, the grunt exit , but I want to do something in the grunt plugin before the process exit.
I tried like this
grunt.registerMultiTask('task1', 'runtask', function () { function exitFn(){ console.log('the task exit.') } process.on('uncaughtException', exitFn) process.on('exit', exitFn) }
it's not work.
tks!
The text was updated successfully, but these errors were encountered:
#1543 Looks similar to this issue
Sorry, something went wrong.
No branches or pull requests
I create a grunt plugin , when I press ctrl+c, the grunt exit , but I want to do something in the grunt plugin before the process exit.
I tried like this
it's not work.
tks!
The text was updated successfully, but these errors were encountered: