Open lo1tuma opened 9 years ago
I want to use time-require in a http-server project which normally never exits. So the process.once('exit') handler is never called. Please add a process.once('SIGINT') handler to output the measured time on a SIGINT signal.
time-require
process.once('exit')
process.once('SIGINT')
SIGINT
I want to use
time-require
in a http-server project which normally never exits. So theprocess.once('exit')
handler is never called. Please add aprocess.once('SIGINT')
handler to output the measured time on aSIGINT
signal.