sindresorhus / time-grunt

Display the elapsed execution time of grunt tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-exit hack still necessary?

dylang opened this issue · comments

cowboy/node-exit#4 has been resolved, so I was curious if this is still needed:

    // crazy hack to work around stupid node-exit
    function exit(exitCode) {
        clearInterval(interval);
        process.emit('timegruntexit', exitCode);
        exit = function () {};
    }

I dunno, but it works now, no need to risk breaking it again.